Name | Type | Description | Notes |
---|---|---|---|
Id | string | Identifier of the token. | |
Name | string | Name of the token. | |
Description | string | Description of the token. | |
Status | string | Status of the token. Can be `Active`, or `Inactive`. | |
Type | string | Type of the token. Valid values: 1) CollectorRegistrationTokenResponse | |
Version | int64 | Version of the token. | |
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the resource. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. | |
ModifiedBy | string | Identifier of the user who last modified the resource. |
func NewTokenBaseResponse(id string, name string, description string, status string, type_ string, version int64, createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, ) *TokenBaseResponse
NewTokenBaseResponse instantiates a new TokenBaseResponse 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 NewTokenBaseResponseWithDefaults() *TokenBaseResponse
NewTokenBaseResponseWithDefaults instantiates a new TokenBaseResponse 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 *TokenBaseResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) 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.
func (o *TokenBaseResponse) SetId(v string)
SetId sets Id field to given value.
func (o *TokenBaseResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) 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 *TokenBaseResponse) SetName(v string)
SetName sets Name field to given value.
func (o *TokenBaseResponse) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) 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.
func (o *TokenBaseResponse) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *TokenBaseResponse) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBaseResponse) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *TokenBaseResponse) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) 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.
func (o *TokenBaseResponse) SetType(v string)
SetType sets Type field to given value.
func (o *TokenBaseResponse) GetVersion() int64
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) GetVersionOk() (*int64, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBaseResponse) SetVersion(v int64)
SetVersion sets Version field to given value.
func (o *TokenBaseResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) 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.
func (o *TokenBaseResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *TokenBaseResponse) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) GetCreatedByOk() (*string, 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 *TokenBaseResponse) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *TokenBaseResponse) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBaseResponse) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *TokenBaseResponse) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *TokenBaseResponse) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenBaseResponse) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.