| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | Name for management key. | |
| ExpiryDate | Pointer to time.Time | The date the management key expires. | |
| Endpoints | Pointer to []Endpoint | The list of endpoints that can be accessed with the key | |
| AllowedApplicationIds | Pointer to []int64 | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional] |
| Id | Pointer to int64 | ID of the management key. | |
| CreatedBy | Pointer to int64 | ID of the user who created it. | |
| AccountID | Pointer to int64 | ID of account the key is used for. | |
| Created | Pointer to time.Time | The date the management key was created. | |
| Disabled | Pointer to bool | The management key is disabled (this property is set to `true`) when the user who created the key is disabled or deleted. | [optional] |
| LastUsed | Pointer to time.Time | The last time the management key was used. | [optional] |
func NewManagementKey(name string, expiryDate time.Time, endpoints []Endpoint, id int64, createdBy int64, accountID int64, created time.Time, ) *ManagementKey
NewManagementKey instantiates a new ManagementKey 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 NewManagementKeyWithDefaults() *ManagementKey
NewManagementKeyWithDefaults instantiates a new ManagementKey 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 *ManagementKey) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ManagementKey) 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 *ManagementKey) SetName(v string)
SetName sets Name field to given value.
func (o *ManagementKey) GetExpiryDate() time.Time
GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.
func (o *ManagementKey) GetExpiryDateOk() (*time.Time, bool)
GetExpiryDateOk returns a tuple with the ExpiryDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetExpiryDate(v time.Time)
SetExpiryDate sets ExpiryDate field to given value.
func (o *ManagementKey) GetEndpoints() []Endpoint
GetEndpoints returns the Endpoints field if non-nil, zero value otherwise.
func (o *ManagementKey) GetEndpointsOk() (*[]Endpoint, bool)
GetEndpointsOk returns a tuple with the Endpoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetEndpoints(v []Endpoint)
SetEndpoints sets Endpoints field to given value.
func (o *ManagementKey) GetAllowedApplicationIds() []int64
GetAllowedApplicationIds returns the AllowedApplicationIds field if non-nil, zero value otherwise.
func (o *ManagementKey) GetAllowedApplicationIdsOk() (*[]int64, bool)
GetAllowedApplicationIdsOk returns a tuple with the AllowedApplicationIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetAllowedApplicationIds(v []int64)
SetAllowedApplicationIds sets AllowedApplicationIds field to given value.
func (o *ManagementKey) HasAllowedApplicationIds() bool
HasAllowedApplicationIds returns a boolean if a field has been set.
func (o *ManagementKey) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ManagementKey) GetIdOk() (*int64, 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.
func (o *ManagementKey) SetId(v int64)
SetId sets Id field to given value.
func (o *ManagementKey) GetCreatedBy() int64
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *ManagementKey) GetCreatedByOk() (*int64, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetCreatedBy(v int64)
SetCreatedBy sets CreatedBy field to given value.
func (o *ManagementKey) GetAccountID() int64
GetAccountID returns the AccountID field if non-nil, zero value otherwise.
func (o *ManagementKey) GetAccountIDOk() (*int64, bool)
GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetAccountID(v int64)
SetAccountID sets AccountID field to given value.
func (o *ManagementKey) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *ManagementKey) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *ManagementKey) GetDisabled() bool
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (o *ManagementKey) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetDisabled(v bool)
SetDisabled sets Disabled field to given value.
func (o *ManagementKey) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (o *ManagementKey) GetLastUsed() time.Time
GetLastUsed returns the LastUsed field if non-nil, zero value otherwise.
func (o *ManagementKey) GetLastUsedOk() (*time.Time, bool)
GetLastUsedOk returns a tuple with the LastUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagementKey) SetLastUsed(v time.Time)
SetLastUsed sets LastUsed field to given value.
func (o *ManagementKey) HasLastUsed() bool
HasLastUsed returns a boolean if a field has been set.