Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
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] | |
Component | string | Get object component so that we know how to edit the object | [readonly] |
VerboseName | string | Return object's verbose_name | [readonly] |
VerboseNamePlural | string | Return object's plural verbose_name | [readonly] |
MetaModelName | string | Return internal model name | [readonly] |
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] |
Managed | NullableString | Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update. | [readonly] |
UserPathTemplate | Pointer to string | [optional] | |
Icon | NullableString | Get the URL to the Icon. If the name is /static or starts with http it is returned as-is | [readonly] |
func NewSource(pk string, name string, slug string, component string, verboseName string, verboseNamePlural string, metaModelName string, managed NullableString, icon NullableString, ) *Source
NewSource instantiates a new Source 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
func NewSourceWithDefaults() *Source
NewSourceWithDefaults instantiates a new Source 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
func (o *Source) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *Source) GetPkOk() (*string, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetPk(v string)
SetPk sets Pk field to given value.
func (o *Source) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetName(v string)
SetName sets Name field to given value.
func (o *Source) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *Source) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Source) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *Source) GetAuthenticationFlow() string
GetAuthenticationFlow returns the AuthenticationFlow field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetAuthenticationFlow(v string)
SetAuthenticationFlow sets AuthenticationFlow field to given value.
func (o *Source) HasAuthenticationFlow() bool
HasAuthenticationFlow returns a boolean if a field has been set.
func (o *Source) SetAuthenticationFlowNil(b bool)
SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil
func (o *Source) UnsetAuthenticationFlow()
UnsetAuthenticationFlow ensures that no value is present for AuthenticationFlow, not even an explicit nil
func (o *Source) GetEnrollmentFlow() string
GetEnrollmentFlow returns the EnrollmentFlow field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetEnrollmentFlow(v string)
SetEnrollmentFlow sets EnrollmentFlow field to given value.
func (o *Source) HasEnrollmentFlow() bool
HasEnrollmentFlow returns a boolean if a field has been set.
func (o *Source) SetEnrollmentFlowNil(b bool)
SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil
func (o *Source) UnsetEnrollmentFlow()
UnsetEnrollmentFlow ensures that no value is present for EnrollmentFlow, not even an explicit nil
func (o *Source) GetUserPropertyMappings() []string
GetUserPropertyMappings returns the UserPropertyMappings field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetUserPropertyMappings(v []string)
SetUserPropertyMappings sets UserPropertyMappings field to given value.
func (o *Source) HasUserPropertyMappings() bool
HasUserPropertyMappings returns a boolean if a field has been set.
func (o *Source) GetGroupPropertyMappings() []string
GetGroupPropertyMappings returns the GroupPropertyMappings field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetGroupPropertyMappings(v []string)
SetGroupPropertyMappings sets GroupPropertyMappings field to given value.
func (o *Source) HasGroupPropertyMappings() bool
HasGroupPropertyMappings returns a boolean if a field has been set.
func (o *Source) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *Source) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *Source) GetVerboseName() string
GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.
func (o *Source) GetVerboseNameOk() (*string, bool)
GetVerboseNameOk returns a tuple with the VerboseName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetVerboseName(v string)
SetVerboseName sets VerboseName field to given value.
func (o *Source) GetVerboseNamePlural() string
GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.
func (o *Source) GetVerboseNamePluralOk() (*string, bool)
GetVerboseNamePluralOk returns a tuple with the VerboseNamePlural field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetVerboseNamePlural(v string)
SetVerboseNamePlural sets VerboseNamePlural field to given value.
func (o *Source) GetMetaModelName() string
GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.
func (o *Source) GetMetaModelNameOk() (*string, bool)
GetMetaModelNameOk returns a tuple with the MetaModelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetMetaModelName(v string)
SetMetaModelName sets MetaModelName field to given value.
func (o *Source) GetPolicyEngineMode() PolicyEngineMode
GetPolicyEngineMode returns the PolicyEngineMode field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetPolicyEngineMode(v PolicyEngineMode)
SetPolicyEngineMode sets PolicyEngineMode field to given value.
func (o *Source) HasPolicyEngineMode() bool
HasPolicyEngineMode returns a boolean if a field has been set.
func (o *Source) GetUserMatchingMode() UserMatchingModeEnum
GetUserMatchingMode returns the UserMatchingMode field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetUserMatchingMode(v UserMatchingModeEnum)
SetUserMatchingMode sets UserMatchingMode field to given value.
func (o *Source) HasUserMatchingMode() bool
HasUserMatchingMode returns a boolean if a field has been set.
func (o *Source) GetManaged() string
GetManaged returns the Managed field if non-nil, zero value otherwise.
func (o *Source) GetManagedOk() (*string, bool)
GetManagedOk returns a tuple with the Managed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetManaged(v string)
SetManaged sets Managed field to given value.
func (o *Source) SetManagedNil(b bool)
SetManagedNil sets the value for Managed to be an explicit nil
func (o *Source) UnsetManaged()
UnsetManaged ensures that no value is present for Managed, not even an explicit nil
func (o *Source) GetUserPathTemplate() string
GetUserPathTemplate returns the UserPathTemplate field if non-nil, zero value otherwise.
func (o *Source) 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.
func (o *Source) SetUserPathTemplate(v string)
SetUserPathTemplate sets UserPathTemplate field to given value.
func (o *Source) HasUserPathTemplate() bool
HasUserPathTemplate returns a boolean if a field has been set.
func (o *Source) GetIcon() string
GetIcon returns the Icon field if non-nil, zero value otherwise.
func (o *Source) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Source) SetIcon(v string)
SetIcon sets Icon field to given value.
func (o *Source) SetIconNil(b bool)
SetIconNil sets the value for Icon to be an explicit nil
func (o *Source) UnsetIcon()
UnsetIcon ensures that no value is present for Icon, not even an explicit nil