Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Type | Pointer to string | [optional] | |
TenantId | Pointer to string | [optional] | |
Data | Pointer to interface{} | [optional] | |
Metadata | Pointer to map[string]string | [optional] | |
Enrichments | Pointer to TokenEnrichments | [optional] | |
CreatedBy | Pointer to NullableString | [optional] | |
CreatedAt | Pointer to NullableTime | [optional] | |
ModifiedBy | Pointer to NullableString | [optional] | |
ModifiedAt | Pointer to NullableTime | [optional] | |
Fingerprint | Pointer to NullableString | [optional] | |
FingerprintExpression | Pointer to NullableString | [optional] | |
Mask | Pointer to interface{} | [optional] | |
Privacy | Pointer to Privacy | [optional] | |
SearchIndexes | Pointer to []string | [optional] | |
ExpiresAt | Pointer to NullableTime | [optional] | |
Containers | Pointer to []string | [optional] | |
Aliases | Pointer to []string | [optional] | |
Extras | Pointer to TokenExtras | [optional] |
func NewToken() *Token
NewToken instantiates a new Token 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 NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 *Token) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetId(v string)
SetId sets Id field to given value.
func (o *Token) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Token) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetType(v string)
SetType sets Type field to given value.
func (o *Token) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Token) GetTenantId() string
GetTenantId returns the TenantId field if non-nil, zero value otherwise.
func (o *Token) GetTenantIdOk() (*string, bool)
GetTenantIdOk returns a tuple with the TenantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetTenantId(v string)
SetTenantId sets TenantId field to given value.
func (o *Token) HasTenantId() bool
HasTenantId returns a boolean if a field has been set.
func (o *Token) GetData() interface{}
GetData returns the Data field if non-nil, zero value otherwise.
func (o *Token) GetDataOk() (*interface{}, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetData(v interface{})
SetData sets Data field to given value.
func (o *Token) HasData() bool
HasData returns a boolean if a field has been set.
func (o *Token) SetDataNil(b bool)
SetDataNil sets the value for Data to be an explicit nil
func (o *Token) UnsetData()
UnsetData ensures that no value is present for Data, not even an explicit nil
func (o *Token) GetMetadata() map[string]string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Token) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetMetadata(v map[string]string)
SetMetadata sets Metadata field to given value.
func (o *Token) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Token) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *Token) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *Token) GetEnrichments() TokenEnrichments
GetEnrichments returns the Enrichments field if non-nil, zero value otherwise.
func (o *Token) GetEnrichmentsOk() (*TokenEnrichments, bool)
GetEnrichmentsOk returns a tuple with the Enrichments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetEnrichments(v TokenEnrichments)
SetEnrichments sets Enrichments field to given value.
func (o *Token) HasEnrichments() bool
HasEnrichments returns a boolean if a field has been set.
func (o *Token) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *Token) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *Token) SetCreatedByNil(b bool)
SetCreatedByNil sets the value for CreatedBy to be an explicit nil
func (o *Token) UnsetCreatedBy()
UnsetCreatedBy ensures that no value is present for CreatedBy, not even an explicit nil
func (o *Token) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Token) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Token) SetCreatedAtNil(b bool)
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (o *Token) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (o *Token) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.
func (o *Token) HasModifiedBy() bool
HasModifiedBy returns a boolean if a field has been set.
func (o *Token) SetModifiedByNil(b bool)
SetModifiedByNil sets the value for ModifiedBy to be an explicit nil
func (o *Token) UnsetModifiedBy()
UnsetModifiedBy ensures that no value is present for ModifiedBy, not even an explicit nil
func (o *Token) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *Token) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (o *Token) SetModifiedAtNil(b bool)
SetModifiedAtNil sets the value for ModifiedAt to be an explicit nil
func (o *Token) UnsetModifiedAt()
UnsetModifiedAt ensures that no value is present for ModifiedAt, not even an explicit nil
func (o *Token) GetFingerprint() string
GetFingerprint returns the Fingerprint field if non-nil, zero value otherwise.
func (o *Token) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetFingerprint(v string)
SetFingerprint sets Fingerprint field to given value.
func (o *Token) HasFingerprint() bool
HasFingerprint returns a boolean if a field has been set.
func (o *Token) SetFingerprintNil(b bool)
SetFingerprintNil sets the value for Fingerprint to be an explicit nil
func (o *Token) UnsetFingerprint()
UnsetFingerprint ensures that no value is present for Fingerprint, not even an explicit nil
func (o *Token) GetFingerprintExpression() string
GetFingerprintExpression returns the FingerprintExpression field if non-nil, zero value otherwise.
func (o *Token) GetFingerprintExpressionOk() (*string, bool)
GetFingerprintExpressionOk returns a tuple with the FingerprintExpression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetFingerprintExpression(v string)
SetFingerprintExpression sets FingerprintExpression field to given value.
func (o *Token) HasFingerprintExpression() bool
HasFingerprintExpression returns a boolean if a field has been set.
func (o *Token) SetFingerprintExpressionNil(b bool)
SetFingerprintExpressionNil sets the value for FingerprintExpression to be an explicit nil
func (o *Token) UnsetFingerprintExpression()
UnsetFingerprintExpression ensures that no value is present for FingerprintExpression, not even an explicit nil
func (o *Token) GetMask() interface{}
GetMask returns the Mask field if non-nil, zero value otherwise.
func (o *Token) GetMaskOk() (*interface{}, bool)
GetMaskOk returns a tuple with the Mask field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetMask(v interface{})
SetMask sets Mask field to given value.
func (o *Token) HasMask() bool
HasMask returns a boolean if a field has been set.
func (o *Token) SetMaskNil(b bool)
SetMaskNil sets the value for Mask to be an explicit nil
func (o *Token) UnsetMask()
UnsetMask ensures that no value is present for Mask, not even an explicit nil
func (o *Token) GetPrivacy() Privacy
GetPrivacy returns the Privacy field if non-nil, zero value otherwise.
func (o *Token) GetPrivacyOk() (*Privacy, bool)
GetPrivacyOk returns a tuple with the Privacy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetPrivacy(v Privacy)
SetPrivacy sets Privacy field to given value.
func (o *Token) HasPrivacy() bool
HasPrivacy returns a boolean if a field has been set.
func (o *Token) GetSearchIndexes() []string
GetSearchIndexes returns the SearchIndexes field if non-nil, zero value otherwise.
func (o *Token) GetSearchIndexesOk() (*[]string, bool)
GetSearchIndexesOk returns a tuple with the SearchIndexes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetSearchIndexes(v []string)
SetSearchIndexes sets SearchIndexes field to given value.
func (o *Token) HasSearchIndexes() bool
HasSearchIndexes returns a boolean if a field has been set.
func (o *Token) SetSearchIndexesNil(b bool)
SetSearchIndexesNil sets the value for SearchIndexes to be an explicit nil
func (o *Token) UnsetSearchIndexes()
UnsetSearchIndexes ensures that no value is present for SearchIndexes, not even an explicit nil
func (o *Token) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *Token) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetExpiresAt(v time.Time)
SetExpiresAt sets ExpiresAt field to given value.
func (o *Token) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *Token) SetExpiresAtNil(b bool)
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (o *Token) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
func (o *Token) GetContainers() []string
GetContainers returns the Containers field if non-nil, zero value otherwise.
func (o *Token) GetContainersOk() (*[]string, bool)
GetContainersOk returns a tuple with the Containers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetContainers(v []string)
SetContainers sets Containers field to given value.
func (o *Token) HasContainers() bool
HasContainers returns a boolean if a field has been set.
func (o *Token) SetContainersNil(b bool)
SetContainersNil sets the value for Containers to be an explicit nil
func (o *Token) UnsetContainers()
UnsetContainers ensures that no value is present for Containers, not even an explicit nil
func (o *Token) GetAliases() []string
GetAliases returns the Aliases field if non-nil, zero value otherwise.
func (o *Token) GetAliasesOk() (*[]string, bool)
GetAliasesOk returns a tuple with the Aliases field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetAliases(v []string)
SetAliases sets Aliases field to given value.
func (o *Token) HasAliases() bool
HasAliases returns a boolean if a field has been set.
func (o *Token) SetAliasesNil(b bool)
SetAliasesNil sets the value for Aliases to be an explicit nil
func (o *Token) UnsetAliases()
UnsetAliases ensures that no value is present for Aliases, not even an explicit nil
func (o *Token) GetExtras() TokenExtras
GetExtras returns the Extras field if non-nil, zero value otherwise.
func (o *Token) GetExtrasOk() (*TokenExtras, bool)
GetExtrasOk returns a tuple with the Extras field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetExtras(v TokenExtras)
SetExtras sets Extras field to given value.
func (o *Token) HasExtras() bool
HasExtras returns a boolean if a field has been set.