Skip to content

Latest commit

 

History

History
415 lines (224 loc) · 11.6 KB

Source.md

File metadata and controls

415 lines (224 loc) · 11.6 KB

Source

Properties

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]
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]

Methods

NewSource

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

NewSourceWithDefaults

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

GetPk

func (o *Source) GetPk() string

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

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.

SetPk

func (o *Source) SetPk(v string)

SetPk sets Pk field to given value.

GetName

func (o *Source) GetName() string

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

GetNameOk

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.

SetName

func (o *Source) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *Source) GetSlug() string

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

GetSlugOk

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.

SetSlug

func (o *Source) SetSlug(v string)

SetSlug sets Slug field to given value.

GetEnabled

func (o *Source) GetEnabled() bool

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

GetEnabledOk

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.

SetEnabled

func (o *Source) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *Source) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetAuthenticationFlow

func (o *Source) GetAuthenticationFlow() string

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

GetAuthenticationFlowOk

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.

SetAuthenticationFlow

func (o *Source) SetAuthenticationFlow(v string)

SetAuthenticationFlow sets AuthenticationFlow field to given value.

HasAuthenticationFlow

func (o *Source) HasAuthenticationFlow() bool

HasAuthenticationFlow returns a boolean if a field has been set.

SetAuthenticationFlowNil

func (o *Source) SetAuthenticationFlowNil(b bool)

SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil

UnsetAuthenticationFlow

func (o *Source) UnsetAuthenticationFlow()

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

GetEnrollmentFlow

func (o *Source) GetEnrollmentFlow() string

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

GetEnrollmentFlowOk

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.

SetEnrollmentFlow

func (o *Source) SetEnrollmentFlow(v string)

SetEnrollmentFlow sets EnrollmentFlow field to given value.

HasEnrollmentFlow

func (o *Source) HasEnrollmentFlow() bool

HasEnrollmentFlow returns a boolean if a field has been set.

SetEnrollmentFlowNil

func (o *Source) SetEnrollmentFlowNil(b bool)

SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil

UnsetEnrollmentFlow

func (o *Source) UnsetEnrollmentFlow()

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

GetComponent

func (o *Source) GetComponent() string

GetComponent returns the Component field if non-nil, zero value otherwise.

GetComponentOk

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.

SetComponent

func (o *Source) SetComponent(v string)

SetComponent sets Component field to given value.

GetVerboseName

func (o *Source) GetVerboseName() string

GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.

GetVerboseNameOk

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.

SetVerboseName

func (o *Source) SetVerboseName(v string)

SetVerboseName sets VerboseName field to given value.

GetVerboseNamePlural

func (o *Source) GetVerboseNamePlural() string

GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.

GetVerboseNamePluralOk

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.

SetVerboseNamePlural

func (o *Source) SetVerboseNamePlural(v string)

SetVerboseNamePlural sets VerboseNamePlural field to given value.

GetMetaModelName

func (o *Source) GetMetaModelName() string

GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.

GetMetaModelNameOk

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.

SetMetaModelName

func (o *Source) SetMetaModelName(v string)

SetMetaModelName sets MetaModelName field to given value.

GetPolicyEngineMode

func (o *Source) GetPolicyEngineMode() PolicyEngineMode

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

GetPolicyEngineModeOk

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.

SetPolicyEngineMode

func (o *Source) SetPolicyEngineMode(v PolicyEngineMode)

SetPolicyEngineMode sets PolicyEngineMode field to given value.

HasPolicyEngineMode

func (o *Source) HasPolicyEngineMode() bool

HasPolicyEngineMode returns a boolean if a field has been set.

GetUserMatchingMode

func (o *Source) GetUserMatchingMode() UserMatchingModeEnum

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

GetUserMatchingModeOk

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.

SetUserMatchingMode

func (o *Source) SetUserMatchingMode(v UserMatchingModeEnum)

SetUserMatchingMode sets UserMatchingMode field to given value.

HasUserMatchingMode

func (o *Source) HasUserMatchingMode() bool

HasUserMatchingMode returns a boolean if a field has been set.

GetManaged

func (o *Source) GetManaged() string

GetManaged returns the Managed field if non-nil, zero value otherwise.

GetManagedOk

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.

SetManaged

func (o *Source) SetManaged(v string)

SetManaged sets Managed field to given value.

SetManagedNil

func (o *Source) SetManagedNil(b bool)

SetManagedNil sets the value for Managed to be an explicit nil

UnsetManaged

func (o *Source) UnsetManaged()

UnsetManaged ensures that no value is present for Managed, not even an explicit nil

GetUserPathTemplate

func (o *Source) GetUserPathTemplate() string

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

GetUserPathTemplateOk

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.

SetUserPathTemplate

func (o *Source) SetUserPathTemplate(v string)

SetUserPathTemplate sets UserPathTemplate field to given value.

HasUserPathTemplate

func (o *Source) HasUserPathTemplate() bool

HasUserPathTemplate returns a boolean if a field has been set.

GetIcon

func (o *Source) GetIcon() string

GetIcon returns the Icon field if non-nil, zero value otherwise.

GetIconOk

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.

SetIcon

func (o *Source) SetIcon(v string)

SetIcon sets Icon field to given value.

SetIconNil

func (o *Source) SetIconNil(b bool)

SetIconNil sets the value for Icon to be an explicit nil

UnsetIcon

func (o *Source) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

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