Skip to content

Latest commit

 

History

History
300 lines (163 loc) · 8.98 KB

SourceRequest.md

File metadata and controls

300 lines (163 loc) · 8.98 KB

SourceRequest

Properties

Name Type Description Notes
Name string Source's display Name.
Slug string Internal source name, used in URLs.
Enabled Pointer to bool [optional]
AuthenticationFlow Pointer to NullableString Flow to use when authenticating existing users. [optional]
EnrollmentFlow Pointer to NullableString Flow to use when enrolling new users. [optional]
UserPropertyMappings Pointer to []string [optional]
GroupPropertyMappings Pointer to []string [optional]
PolicyEngineMode Pointer to PolicyEngineMode [optional]
UserMatchingMode Pointer to UserMatchingModeEnum How the source determines if an existing user should be authenticated or a new user enrolled. [optional]
UserPathTemplate Pointer to string [optional]

Methods

NewSourceRequest

func NewSourceRequest(name string, slug string, ) *SourceRequest

NewSourceRequest instantiates a new SourceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSourceRequestWithDefaults

func NewSourceRequestWithDefaults() *SourceRequest

NewSourceRequestWithDefaults instantiates a new SourceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetName

func (o *SourceRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *SourceRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *SourceRequest) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *SourceRequest) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *SourceRequest) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSlug

func (o *SourceRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

GetEnabled

func (o *SourceRequest) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *SourceRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnabled

func (o *SourceRequest) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *SourceRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetAuthenticationFlow

func (o *SourceRequest) GetAuthenticationFlow() string

GetAuthenticationFlow returns the AuthenticationFlow field if non-nil, zero value otherwise.

GetAuthenticationFlowOk

func (o *SourceRequest) GetAuthenticationFlowOk() (*string, bool)

GetAuthenticationFlowOk returns a tuple with the AuthenticationFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuthenticationFlow

func (o *SourceRequest) SetAuthenticationFlow(v string)

SetAuthenticationFlow sets AuthenticationFlow field to given value.

HasAuthenticationFlow

func (o *SourceRequest) HasAuthenticationFlow() bool

HasAuthenticationFlow returns a boolean if a field has been set.

SetAuthenticationFlowNil

func (o *SourceRequest) SetAuthenticationFlowNil(b bool)

SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil

UnsetAuthenticationFlow

func (o *SourceRequest) UnsetAuthenticationFlow()

UnsetAuthenticationFlow ensures that no value is present for AuthenticationFlow, not even an explicit nil

GetEnrollmentFlow

func (o *SourceRequest) GetEnrollmentFlow() string

GetEnrollmentFlow returns the EnrollmentFlow field if non-nil, zero value otherwise.

GetEnrollmentFlowOk

func (o *SourceRequest) GetEnrollmentFlowOk() (*string, bool)

GetEnrollmentFlowOk returns a tuple with the EnrollmentFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnrollmentFlow

func (o *SourceRequest) SetEnrollmentFlow(v string)

SetEnrollmentFlow sets EnrollmentFlow field to given value.

HasEnrollmentFlow

func (o *SourceRequest) HasEnrollmentFlow() bool

HasEnrollmentFlow returns a boolean if a field has been set.

SetEnrollmentFlowNil

func (o *SourceRequest) SetEnrollmentFlowNil(b bool)

SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil

UnsetEnrollmentFlow

func (o *SourceRequest) UnsetEnrollmentFlow()

UnsetEnrollmentFlow ensures that no value is present for EnrollmentFlow, not even an explicit nil

GetUserPropertyMappings

func (o *SourceRequest) GetUserPropertyMappings() []string

GetUserPropertyMappings returns the UserPropertyMappings field if non-nil, zero value otherwise.

GetUserPropertyMappingsOk

func (o *SourceRequest) GetUserPropertyMappingsOk() (*[]string, bool)

GetUserPropertyMappingsOk returns a tuple with the UserPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUserPropertyMappings

func (o *SourceRequest) SetUserPropertyMappings(v []string)

SetUserPropertyMappings sets UserPropertyMappings field to given value.

HasUserPropertyMappings

func (o *SourceRequest) HasUserPropertyMappings() bool

HasUserPropertyMappings returns a boolean if a field has been set.

GetGroupPropertyMappings

func (o *SourceRequest) GetGroupPropertyMappings() []string

GetGroupPropertyMappings returns the GroupPropertyMappings field if non-nil, zero value otherwise.

GetGroupPropertyMappingsOk

func (o *SourceRequest) GetGroupPropertyMappingsOk() (*[]string, bool)

GetGroupPropertyMappingsOk returns a tuple with the GroupPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGroupPropertyMappings

func (o *SourceRequest) SetGroupPropertyMappings(v []string)

SetGroupPropertyMappings sets GroupPropertyMappings field to given value.

HasGroupPropertyMappings

func (o *SourceRequest) HasGroupPropertyMappings() bool

HasGroupPropertyMappings returns a boolean if a field has been set.

GetPolicyEngineMode

func (o *SourceRequest) GetPolicyEngineMode() PolicyEngineMode

GetPolicyEngineMode returns the PolicyEngineMode field if non-nil, zero value otherwise.

GetPolicyEngineModeOk

func (o *SourceRequest) GetPolicyEngineModeOk() (*PolicyEngineMode, bool)

GetPolicyEngineModeOk returns a tuple with the PolicyEngineMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPolicyEngineMode

func (o *SourceRequest) SetPolicyEngineMode(v PolicyEngineMode)

SetPolicyEngineMode sets PolicyEngineMode field to given value.

HasPolicyEngineMode

func (o *SourceRequest) HasPolicyEngineMode() bool

HasPolicyEngineMode returns a boolean if a field has been set.

GetUserMatchingMode

func (o *SourceRequest) GetUserMatchingMode() UserMatchingModeEnum

GetUserMatchingMode returns the UserMatchingMode field if non-nil, zero value otherwise.

GetUserMatchingModeOk

func (o *SourceRequest) GetUserMatchingModeOk() (*UserMatchingModeEnum, bool)

GetUserMatchingModeOk returns a tuple with the UserMatchingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUserMatchingMode

func (o *SourceRequest) SetUserMatchingMode(v UserMatchingModeEnum)

SetUserMatchingMode sets UserMatchingMode field to given value.

HasUserMatchingMode

func (o *SourceRequest) HasUserMatchingMode() bool

HasUserMatchingMode returns a boolean if a field has been set.

GetUserPathTemplate

func (o *SourceRequest) GetUserPathTemplate() string

GetUserPathTemplate returns the UserPathTemplate field if non-nil, zero value otherwise.

GetUserPathTemplateOk

func (o *SourceRequest) GetUserPathTemplateOk() (*string, bool)

GetUserPathTemplateOk returns a tuple with the UserPathTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUserPathTemplate

func (o *SourceRequest) SetUserPathTemplate(v string)

SetUserPathTemplate sets UserPathTemplate field to given value.

HasUserPathTemplate

func (o *SourceRequest) HasUserPathTemplate() bool

HasUserPathTemplate returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]