Skip to content

Latest commit

 

History

History
338 lines (181 loc) · 8.81 KB

FormattedApiApiKey.md

File metadata and controls

338 lines (181 loc) · 8.81 KB

FormattedApiApiKey

Properties

Name Type Description Notes
Id ItemsInnerId
AccessPolicyId string
OrgId float32
OrgSlug string
OrgName string
InstanceId NullableFloat32
Name string
Role string
CreatedAt string
UpdatedAt NullableString
FirstUsed NullableString
Token Pointer to string [optional]
Links []LinksInner

Methods

NewFormattedApiApiKey

func NewFormattedApiApiKey(id ItemsInnerId, accessPolicyId string, orgId float32, orgSlug string, orgName string, instanceId NullableFloat32, name string, role string, createdAt string, updatedAt NullableString, firstUsed NullableString, links []LinksInner, ) *FormattedApiApiKey

NewFormattedApiApiKey instantiates a new FormattedApiApiKey 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

NewFormattedApiApiKeyWithDefaults

func NewFormattedApiApiKeyWithDefaults() *FormattedApiApiKey

NewFormattedApiApiKeyWithDefaults instantiates a new FormattedApiApiKey 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

GetId

func (o *FormattedApiApiKey) GetId() ItemsInnerId

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

GetIdOk

func (o *FormattedApiApiKey) GetIdOk() (*ItemsInnerId, 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 *FormattedApiApiKey) SetId(v ItemsInnerId)

SetId sets Id field to given value.

GetAccessPolicyId

func (o *FormattedApiApiKey) GetAccessPolicyId() string

GetAccessPolicyId returns the AccessPolicyId field if non-nil, zero value otherwise.

GetAccessPolicyIdOk

func (o *FormattedApiApiKey) GetAccessPolicyIdOk() (*string, bool)

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

SetAccessPolicyId

func (o *FormattedApiApiKey) SetAccessPolicyId(v string)

SetAccessPolicyId sets AccessPolicyId field to given value.

GetOrgId

func (o *FormattedApiApiKey) GetOrgId() float32

GetOrgId returns the OrgId field if non-nil, zero value otherwise.

GetOrgIdOk

func (o *FormattedApiApiKey) GetOrgIdOk() (*float32, bool)

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

SetOrgId

func (o *FormattedApiApiKey) SetOrgId(v float32)

SetOrgId sets OrgId field to given value.

GetOrgSlug

func (o *FormattedApiApiKey) GetOrgSlug() string

GetOrgSlug returns the OrgSlug field if non-nil, zero value otherwise.

GetOrgSlugOk

func (o *FormattedApiApiKey) GetOrgSlugOk() (*string, bool)

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

SetOrgSlug

func (o *FormattedApiApiKey) SetOrgSlug(v string)

SetOrgSlug sets OrgSlug field to given value.

GetOrgName

func (o *FormattedApiApiKey) GetOrgName() string

GetOrgName returns the OrgName field if non-nil, zero value otherwise.

GetOrgNameOk

func (o *FormattedApiApiKey) GetOrgNameOk() (*string, bool)

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

SetOrgName

func (o *FormattedApiApiKey) SetOrgName(v string)

SetOrgName sets OrgName field to given value.

GetInstanceId

func (o *FormattedApiApiKey) GetInstanceId() float32

GetInstanceId returns the InstanceId field if non-nil, zero value otherwise.

GetInstanceIdOk

func (o *FormattedApiApiKey) GetInstanceIdOk() (*float32, bool)

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

SetInstanceId

func (o *FormattedApiApiKey) SetInstanceId(v float32)

SetInstanceId sets InstanceId field to given value.

SetInstanceIdNil

func (o *FormattedApiApiKey) SetInstanceIdNil(b bool)

SetInstanceIdNil sets the value for InstanceId to be an explicit nil

UnsetInstanceId

func (o *FormattedApiApiKey) UnsetInstanceId()

UnsetInstanceId ensures that no value is present for InstanceId, not even an explicit nil

GetName

func (o *FormattedApiApiKey) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetRole

func (o *FormattedApiApiKey) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *FormattedApiApiKey) GetRoleOk() (*string, bool)

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

SetRole

func (o *FormattedApiApiKey) SetRole(v string)

SetRole sets Role field to given value.

GetCreatedAt

func (o *FormattedApiApiKey) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *FormattedApiApiKey) GetCreatedAtOk() (*string, bool)

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

SetCreatedAt

func (o *FormattedApiApiKey) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *FormattedApiApiKey) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *FormattedApiApiKey) GetUpdatedAtOk() (*string, bool)

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

SetUpdatedAt

func (o *FormattedApiApiKey) SetUpdatedAt(v string)

SetUpdatedAt sets UpdatedAt field to given value.

SetUpdatedAtNil

func (o *FormattedApiApiKey) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *FormattedApiApiKey) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

GetFirstUsed

func (o *FormattedApiApiKey) GetFirstUsed() string

GetFirstUsed returns the FirstUsed field if non-nil, zero value otherwise.

GetFirstUsedOk

func (o *FormattedApiApiKey) GetFirstUsedOk() (*string, bool)

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

SetFirstUsed

func (o *FormattedApiApiKey) SetFirstUsed(v string)

SetFirstUsed sets FirstUsed field to given value.

SetFirstUsedNil

func (o *FormattedApiApiKey) SetFirstUsedNil(b bool)

SetFirstUsedNil sets the value for FirstUsed to be an explicit nil

UnsetFirstUsed

func (o *FormattedApiApiKey) UnsetFirstUsed()

UnsetFirstUsed ensures that no value is present for FirstUsed, not even an explicit nil

GetToken

func (o *FormattedApiApiKey) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *FormattedApiApiKey) GetTokenOk() (*string, bool)

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

SetToken

func (o *FormattedApiApiKey) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *FormattedApiApiKey) HasToken() bool

HasToken returns a boolean if a field has been set.

GetLinks

func (o *FormattedApiApiKey) GetLinks() []LinksInner

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *FormattedApiApiKey) GetLinksOk() (*[]LinksInner, bool)

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

SetLinks

func (o *FormattedApiApiKey) SetLinks(v []LinksInner)

SetLinks sets Links field to given value.

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