Skip to main content

RequestedItemAccountSelections

Properties​

NameTypeDescriptionNotes
DescriptionPointer to stringThe description for this requested item[optional]
AccountsSelectionBlockedPointer to boolThis field indicates if account selections are not allowed for this requested item. * If true, this field indicates that account selections will not be available for this item and identity combination. In this case, no account selections should be provided in the access request for this item and identity combination, irrespective of whether the identity has single or multiple accounts on a source. * An example is where a user is requesting an access profile that is already assigned to one of their accounts. * For machine identities, this can be true with reason NO_ACCOUNT_ON_SOURCE when the machine has no account on a requested source. Empty sources[].accounts on the accounts-selection response is valid in that blocked case; submitting empty accounts on create is not valid.[optional] [default to false]
AccountsSelectionBlockedReasonPointer to NullableStringIf account selections are not allowed for an item, this field will denote the reason. * ACCESS_PROFILE_ALREADY_ASSIGNED_TO_AN_ACCOUNT - access profile already assigned on an account. * NO_ACCOUNT_ON_SOURCE - no account found on at least one requested source (only for machine identities).[optional]
TypePointer to stringThe type of the item being requested.[optional]
IdPointer to stringThe id of the requested item[optional]
NamePointer to stringThe name of the requested item[optional]
SourcesPointer to []SourceAccountSelectionsThe details for the sources and accounts for the requested item and identity combination[optional]

Methods​

NewRequestedItemAccountSelections​

func NewRequestedItemAccountSelections() *RequestedItemAccountSelections

NewRequestedItemAccountSelections instantiates a new RequestedItemAccountSelections 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

NewRequestedItemAccountSelectionsWithDefaults​

func NewRequestedItemAccountSelectionsWithDefaults() *RequestedItemAccountSelections

NewRequestedItemAccountSelectionsWithDefaults instantiates a new RequestedItemAccountSelections 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

GetDescription​

func (o *RequestedItemAccountSelections) GetDescription() string

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

GetDescriptionOk​

func (o *RequestedItemAccountSelections) 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 *RequestedItemAccountSelections) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription​

func (o *RequestedItemAccountSelections) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetAccountsSelectionBlocked​

func (o *RequestedItemAccountSelections) GetAccountsSelectionBlocked() bool

GetAccountsSelectionBlocked returns the AccountsSelectionBlocked field if non-nil, zero value otherwise.

GetAccountsSelectionBlockedOk​

func (o *RequestedItemAccountSelections) GetAccountsSelectionBlockedOk() (*bool, bool)

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

SetAccountsSelectionBlocked​

func (o *RequestedItemAccountSelections) SetAccountsSelectionBlocked(v bool)

SetAccountsSelectionBlocked sets AccountsSelectionBlocked field to given value.

HasAccountsSelectionBlocked​

func (o *RequestedItemAccountSelections) HasAccountsSelectionBlocked() bool

HasAccountsSelectionBlocked returns a boolean if a field has been set.

GetAccountsSelectionBlockedReason​

func (o *RequestedItemAccountSelections) GetAccountsSelectionBlockedReason() string

GetAccountsSelectionBlockedReason returns the AccountsSelectionBlockedReason field if non-nil, zero value otherwise.

GetAccountsSelectionBlockedReasonOk​

func (o *RequestedItemAccountSelections) GetAccountsSelectionBlockedReasonOk() (*string, bool)

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

SetAccountsSelectionBlockedReason​

func (o *RequestedItemAccountSelections) SetAccountsSelectionBlockedReason(v string)

SetAccountsSelectionBlockedReason sets AccountsSelectionBlockedReason field to given value.

HasAccountsSelectionBlockedReason​

func (o *RequestedItemAccountSelections) HasAccountsSelectionBlockedReason() bool

HasAccountsSelectionBlockedReason returns a boolean if a field has been set.

SetAccountsSelectionBlockedReasonNil​

func (o *RequestedItemAccountSelections) SetAccountsSelectionBlockedReasonNil(b bool)

SetAccountsSelectionBlockedReasonNil sets the value for AccountsSelectionBlockedReason to be an explicit nil

UnsetAccountsSelectionBlockedReason​

func (o *RequestedItemAccountSelections) UnsetAccountsSelectionBlockedReason()

UnsetAccountsSelectionBlockedReason ensures that no value is present for AccountsSelectionBlockedReason, not even an explicit nil

GetType​

func (o *RequestedItemAccountSelections) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk​

func (o *RequestedItemAccountSelections) GetTypeOk() (*string, bool)

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

SetType​

func (o *RequestedItemAccountSelections) SetType(v string)

SetType sets Type field to given value.

HasType​

func (o *RequestedItemAccountSelections) HasType() bool

HasType returns a boolean if a field has been set.

GetId​

func (o *RequestedItemAccountSelections) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk​

func (o *RequestedItemAccountSelections) GetIdOk() (*string, bool)

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

SetId​

func (o *RequestedItemAccountSelections) SetId(v string)

SetId sets Id field to given value.

HasId​

func (o *RequestedItemAccountSelections) HasId() bool

HasId returns a boolean if a field has been set.

GetName​

func (o *RequestedItemAccountSelections) GetName() string

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

GetNameOk​

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

SetName sets Name field to given value.

HasName​

func (o *RequestedItemAccountSelections) HasName() bool

HasName returns a boolean if a field has been set.

GetSources​

func (o *RequestedItemAccountSelections) GetSources() []SourceAccountSelections

GetSources returns the Sources field if non-nil, zero value otherwise.

GetSourcesOk​

func (o *RequestedItemAccountSelections) GetSourcesOk() (*[]SourceAccountSelections, bool)

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

SetSources​

func (o *RequestedItemAccountSelections) SetSources(v []SourceAccountSelections)

SetSources sets Sources field to given value.

HasSources​

func (o *RequestedItemAccountSelections) HasSources() bool

HasSources returns a boolean if a field has been set.