Skip to content

Latest commit

 

History

History
240 lines (127 loc) · 6.57 KB

TokenBaseResponse.md

File metadata and controls

240 lines (127 loc) · 6.57 KB

TokenBaseResponse

Properties

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.

Methods

NewTokenBaseResponse

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

NewTokenBaseResponseWithDefaults

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

GetId

func (o *TokenBaseResponse) GetId() string

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

GetIdOk

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.

SetId

func (o *TokenBaseResponse) SetId(v string)

SetId sets Id field to given value.

GetName

func (o *TokenBaseResponse) GetName() string

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

GetNameOk

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.

SetName

func (o *TokenBaseResponse) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *TokenBaseResponse) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *TokenBaseResponse) SetDescription(v string)

SetDescription sets Description field to given value.

GetStatus

func (o *TokenBaseResponse) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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.

SetStatus

func (o *TokenBaseResponse) SetStatus(v string)

SetStatus sets Status field to given value.

GetType

func (o *TokenBaseResponse) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *TokenBaseResponse) SetType(v string)

SetType sets Type field to given value.

GetVersion

func (o *TokenBaseResponse) GetVersion() int64

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

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.

SetVersion

func (o *TokenBaseResponse) SetVersion(v int64)

SetVersion sets Version field to given value.

GetCreatedAt

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

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

GetCreatedAtOk

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.

SetCreatedAt

func (o *TokenBaseResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetCreatedBy

func (o *TokenBaseResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

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.

SetCreatedBy

func (o *TokenBaseResponse) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

GetModifiedAt

func (o *TokenBaseResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

GetModifiedAtOk

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.

SetModifiedAt

func (o *TokenBaseResponse) SetModifiedAt(v time.Time)

SetModifiedAt sets ModifiedAt field to given value.

GetModifiedBy

func (o *TokenBaseResponse) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

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.

SetModifiedBy

func (o *TokenBaseResponse) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

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