MachineAccountCreateRequestInputV2
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| SubtypeId | string | Subtype ID for which machine account create is enabled and user have the entitlement to create the machine account. | |
| SourceId | Pointer to string | ID of the source to create the machine account on. The subtype must be available on this source. Required when subtypes can be configured per source for the tenant; otherwise it is ignored and the subtype's own source is used. | [optional] |
| FormId | Pointer to string | Form ID selected by user for the machine account create request. | [optional] |
| OwnerIdentityId | string | Owner Identity ID. This identity will be assigned as an owner of the created machine account. | |
| MachineIdentityId | Pointer to NullableString | Machine identity to correlate with the created machine account. If not provided, a new machine identity will be created. | [optional] |
| Environment | Pointer to string | Environment type to use for the machine account. | [optional] |
| Description | Pointer to string | Description for the machine account. | [optional] |
| UserInput | Pointer to map[string]interface{} | Fields of the form linked to the subtype in approval settings. | [optional] |
| Entitlements | Pointer to []MachineAccountCreateEntitlement | Entitlements to request for the created machine account, each with an optional comment, start date, and remove date. Duplicate IDs are ignored and up to 20 unique entitlements are allowed. Use either entitlements or entitlementIds, depending on which one your tenant supports; sending a non-empty list that your tenant does not support returns 400. | [optional] |
| EntitlementIds | Pointer to []string | List of entitlement IDs to provision for created machine account. Up to 20 unique entitlements are allowed. Use either entitlements or entitlementIds, depending on which one your tenant supports; sending a non-empty list that your tenant does not support returns 400. | [optional] |
Methods
NewMachineAccountCreateRequestInputV2
func NewMachineAccountCreateRequestInputV2(subtypeId string, ownerIdentityId string, ) *MachineAccountCreateRequestInputV2
NewMachineAccountCreateRequestInputV2 instantiates a new MachineAccountCreateRequestInputV2 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
NewMachineAccountCreateRequestInputV2WithDefaults
func NewMachineAccountCreateRequestInputV2WithDefaults() *MachineAccountCreateRequestInputV2
NewMachineAccountCreateRequestInputV2WithDefaults instantiates a new MachineAccountCreateRequestInputV2 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
GetSubtypeId
func (o *MachineAccountCreateRequestInputV2) GetSubtypeId() string
GetSubtypeId returns the SubtypeId field if non-nil, zero value otherwise.
GetSubtypeIdOk
func (o *MachineAccountCreateRequestInputV2) GetSubtypeIdOk() (*string, bool)
GetSubtypeIdOk returns a tuple with the SubtypeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSubtypeId
func (o *MachineAccountCreateRequestInputV2) SetSubtypeId(v string)
SetSubtypeId sets SubtypeId field to given value.
GetSourceId
func (o *MachineAccountCreateRequestInputV2) GetSourceId() string
GetSourceId returns the SourceId field if non-nil, zero value otherwise.
GetSourceIdOk
func (o *MachineAccountCreateRequestInputV2) GetSourceIdOk() (*string, bool)
GetSourceIdOk returns a tuple with the SourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSourceId
func (o *MachineAccountCreateRequestInputV2) SetSourceId(v string)
SetSourceId sets SourceId field to given value.
HasSourceId
func (o *MachineAccountCreateRequestInputV2) HasSourceId() bool
HasSourceId returns a boolean if a field has been set.
GetFormId
func (o *MachineAccountCreateRequestInputV2) GetFormId() string
GetFormId returns the FormId field if non-nil, zero value otherwise.
GetFormIdOk
func (o *MachineAccountCreateRequestInputV2) GetFormIdOk() (*string, bool)
GetFormIdOk returns a tuple with the FormId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFormId
func (o *MachineAccountCreateRequestInputV2) SetFormId(v string)
SetFormId sets FormId field to given value.
HasFormId
func (o *MachineAccountCreateRequestInputV2) HasFormId() bool
HasFormId returns a boolean if a field has been set.
GetOwnerIdentityId
func (o *MachineAccountCreateRequestInputV2) GetOwnerIdentityId() string
GetOwnerIdentityId returns the OwnerIdentityId field if non-nil, zero value otherwise.
GetOwnerIdentityIdOk
func (o *MachineAccountCreateRequestInputV2) GetOwnerIdentityIdOk() (*string, bool)
GetOwnerIdentityIdOk returns a tuple with the OwnerIdentityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOwnerIdentityId
func (o *MachineAccountCreateRequestInputV2) SetOwnerIdentityId(v string)
SetOwnerIdentityId sets OwnerIdentityId field to given value.
GetMachineIdentityId
func (o *MachineAccountCreateRequestInputV2) GetMachineIdentityId() string
GetMachineIdentityId returns the MachineIdentityId field if non-nil, zero value otherwise.
GetMachineIdentityIdOk
func (o *MachineAccountCreateRequestInputV2) GetMachineIdentityIdOk() (*string, bool)
GetMachineIdentityIdOk returns a tuple with the MachineIdentityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMachineIdentityId
func (o *MachineAccountCreateRequestInputV2) SetMachineIdentityId(v string)
SetMachineIdentityId sets MachineIdentityId field to given value.
HasMachineIdentityId
func (o *MachineAccountCreateRequestInputV2) HasMachineIdentityId() bool
HasMachineIdentityId returns a boolean if a field has been set.
SetMachineIdentityIdNil
func (o *MachineAccountCreateRequestInputV2) SetMachineIdentityIdNil(b bool)
SetMachineIdentityIdNil sets the value for MachineIdentityId to be an explicit nil
UnsetMachineIdentityId
func (o *MachineAccountCreateRequestInputV2) UnsetMachineIdentityId()
UnsetMachineIdentityId ensures that no value is present for MachineIdentityId, not even an explicit nil
GetEnvironment
func (o *MachineAccountCreateRequestInputV2) GetEnvironment() string
GetEnvironment returns the Environment field if non-nil, zero value otherwise.
GetEnvironmentOk
func (o *MachineAccountCreateRequestInputV2) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEnvironment
func (o *MachineAccountCreateRequestInputV2) SetEnvironment(v string)
SetEnvironment sets Environment field to given value.
HasEnvironment
func (o *MachineAccountCreateRequestInputV2) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
GetDescription
func (o *MachineAccountCreateRequestInputV2) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *MachineAccountCreateRequestInputV2) 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 *MachineAccountCreateRequestInputV2) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *MachineAccountCreateRequestInputV2) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetUserInput
func (o *MachineAccountCreateRequestInputV2) GetUserInput() map[string]interface{}
GetUserInput returns the UserInput field if non-nil, zero value otherwise.
GetUserInputOk
func (o *MachineAccountCreateRequestInputV2) GetUserInputOk() (*map[string]interface{}, bool)
GetUserInputOk returns a tuple with the UserInput field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserInput
func (o *MachineAccountCreateRequestInputV2) SetUserInput(v map[string]interface{})
SetUserInput sets UserInput field to given value.
HasUserInput
func (o *MachineAccountCreateRequestInputV2) HasUserInput() bool
HasUserInput returns a boolean if a field has been set.
GetEntitlements
func (o *MachineAccountCreateRequestInputV2) GetEntitlements() []MachineAccountCreateEntitlement
GetEntitlements returns the Entitlements field if non-nil, zero value otherwise.
GetEntitlementsOk
func (o *MachineAccountCreateRequestInputV2) GetEntitlementsOk() (*[]MachineAccountCreateEntitlement, bool)
GetEntitlementsOk returns a tuple with the Entitlements field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEntitlements
func (o *MachineAccountCreateRequestInputV2) SetEntitlements(v []MachineAccountCreateEntitlement)
SetEntitlements sets Entitlements field to given value.
HasEntitlements
func (o *MachineAccountCreateRequestInputV2) HasEntitlements() bool
HasEntitlements returns a boolean if a field has been set.
GetEntitlementIds
func (o *MachineAccountCreateRequestInputV2) GetEntitlementIds() []string
GetEntitlementIds returns the EntitlementIds field if non-nil, zero value otherwise.
GetEntitlementIdsOk
func (o *MachineAccountCreateRequestInputV2) GetEntitlementIdsOk() (*[]string, bool)
GetEntitlementIdsOk returns a tuple with the EntitlementIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEntitlementIds
func (o *MachineAccountCreateRequestInputV2) SetEntitlementIds(v []string)
SetEntitlementIds sets EntitlementIds field to given value.
HasEntitlementIds
func (o *MachineAccountCreateRequestInputV2) HasEntitlementIds() bool
HasEntitlementIds returns a boolean if a field has been set.