Skip to content

Latest commit

 

History

History
228 lines (123 loc) · 6.27 KB

OrganizationApiTokenCreate.md

File metadata and controls

228 lines (123 loc) · 6.27 KB

OrganizationApiTokenCreate

Properties

Name Type Description Notes
Id string [readonly]
CreatedAt time.Time [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]
Name Pointer to string [optional]
Description Pointer to string [optional]
Token Pointer to string the generated token to send in 'Authorization' header prefixed by 'Token ' [optional]
RoleName Pointer to string [optional]
RoleId Pointer to string [optional]

Methods

NewOrganizationApiTokenCreate

func NewOrganizationApiTokenCreate(id string, createdAt time.Time, ) *OrganizationApiTokenCreate

NewOrganizationApiTokenCreate instantiates a new OrganizationApiTokenCreate 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

NewOrganizationApiTokenCreateWithDefaults

func NewOrganizationApiTokenCreateWithDefaults() *OrganizationApiTokenCreate

NewOrganizationApiTokenCreateWithDefaults instantiates a new OrganizationApiTokenCreate 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 *OrganizationApiTokenCreate) GetId() string

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

GetIdOk

func (o *OrganizationApiTokenCreate) 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 *OrganizationApiTokenCreate) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *OrganizationApiTokenCreate) GetCreatedAt() time.Time

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

GetCreatedAtOk

func (o *OrganizationApiTokenCreate) GetCreatedAtOk() (*time.Time, 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 *OrganizationApiTokenCreate) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *OrganizationApiTokenCreate) GetUpdatedAt() time.Time

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

GetUpdatedAtOk

func (o *OrganizationApiTokenCreate) GetUpdatedAtOk() (*time.Time, 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 *OrganizationApiTokenCreate) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *OrganizationApiTokenCreate) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetName

func (o *OrganizationApiTokenCreate) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *OrganizationApiTokenCreate) HasName() bool

HasName returns a boolean if a field has been set.

GetDescription

func (o *OrganizationApiTokenCreate) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *OrganizationApiTokenCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetToken

func (o *OrganizationApiTokenCreate) GetToken() string

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

GetTokenOk

func (o *OrganizationApiTokenCreate) 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 *OrganizationApiTokenCreate) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *OrganizationApiTokenCreate) HasToken() bool

HasToken returns a boolean if a field has been set.

GetRoleName

func (o *OrganizationApiTokenCreate) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

GetRoleNameOk

func (o *OrganizationApiTokenCreate) GetRoleNameOk() (*string, bool)

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

SetRoleName

func (o *OrganizationApiTokenCreate) SetRoleName(v string)

SetRoleName sets RoleName field to given value.

HasRoleName

func (o *OrganizationApiTokenCreate) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

GetRoleId

func (o *OrganizationApiTokenCreate) GetRoleId() string

GetRoleId returns the RoleId field if non-nil, zero value otherwise.

GetRoleIdOk

func (o *OrganizationApiTokenCreate) GetRoleIdOk() (*string, bool)

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

SetRoleId

func (o *OrganizationApiTokenCreate) SetRoleId(v string)

SetRoleId sets RoleId field to given value.

HasRoleId

func (o *OrganizationApiTokenCreate) HasRoleId() bool

HasRoleId returns a boolean if a field has been set.

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