Skip to content

Latest commit

 

History

History
260 lines (139 loc) · 7.31 KB

ScopeMapping.md

File metadata and controls

260 lines (139 loc) · 7.31 KB

ScopeMapping

Properties

Name Type Description Notes
Pk string [readonly]
Managed Pointer to 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. [optional]
Name string
Expression string
Component string Get object's 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]
ScopeName string Scope name requested by the client
Description Pointer to string Description shown to the user when consenting. If left empty, the user won't be informed. [optional]

Methods

NewScopeMapping

func NewScopeMapping(pk string, name string, expression string, component string, verboseName string, verboseNamePlural string, metaModelName string, scopeName string, ) *ScopeMapping

NewScopeMapping instantiates a new ScopeMapping 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

NewScopeMappingWithDefaults

func NewScopeMappingWithDefaults() *ScopeMapping

NewScopeMappingWithDefaults instantiates a new ScopeMapping 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 *ScopeMapping) GetPk() string

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

GetPkOk

func (o *ScopeMapping) 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 *ScopeMapping) SetPk(v string)

SetPk sets Pk field to given value.

GetManaged

func (o *ScopeMapping) GetManaged() string

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

GetManagedOk

func (o *ScopeMapping) 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 *ScopeMapping) SetManaged(v string)

SetManaged sets Managed field to given value.

HasManaged

func (o *ScopeMapping) HasManaged() bool

HasManaged returns a boolean if a field has been set.

SetManagedNil

func (o *ScopeMapping) SetManagedNil(b bool)

SetManagedNil sets the value for Managed to be an explicit nil

UnsetManaged

func (o *ScopeMapping) UnsetManaged()

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

GetName

func (o *ScopeMapping) GetName() string

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

GetNameOk

func (o *ScopeMapping) 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 *ScopeMapping) SetName(v string)

SetName sets Name field to given value.

GetExpression

func (o *ScopeMapping) GetExpression() string

GetExpression returns the Expression field if non-nil, zero value otherwise.

GetExpressionOk

func (o *ScopeMapping) GetExpressionOk() (*string, bool)

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

SetExpression

func (o *ScopeMapping) SetExpression(v string)

SetExpression sets Expression field to given value.

GetComponent

func (o *ScopeMapping) GetComponent() string

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

GetComponentOk

func (o *ScopeMapping) 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 *ScopeMapping) SetComponent(v string)

SetComponent sets Component field to given value.

GetVerboseName

func (o *ScopeMapping) GetVerboseName() string

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

GetVerboseNameOk

func (o *ScopeMapping) 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 *ScopeMapping) SetVerboseName(v string)

SetVerboseName sets VerboseName field to given value.

GetVerboseNamePlural

func (o *ScopeMapping) GetVerboseNamePlural() string

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

GetVerboseNamePluralOk

func (o *ScopeMapping) 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 *ScopeMapping) SetVerboseNamePlural(v string)

SetVerboseNamePlural sets VerboseNamePlural field to given value.

GetMetaModelName

func (o *ScopeMapping) GetMetaModelName() string

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

GetMetaModelNameOk

func (o *ScopeMapping) 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 *ScopeMapping) SetMetaModelName(v string)

SetMetaModelName sets MetaModelName field to given value.

GetScopeName

func (o *ScopeMapping) GetScopeName() string

GetScopeName returns the ScopeName field if non-nil, zero value otherwise.

GetScopeNameOk

func (o *ScopeMapping) GetScopeNameOk() (*string, bool)

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

SetScopeName

func (o *ScopeMapping) SetScopeName(v string)

SetScopeName sets ScopeName field to given value.

GetDescription

func (o *ScopeMapping) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *ScopeMapping) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *ScopeMapping) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ScopeMapping) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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