Name | Type | Description | Notes |
---|---|---|---|
EulaRequired | Pointer to bool | If checked, a EULA acceptance is required for this token. | [optional] |
IsActive | Pointer to bool | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] |
LimitBandwidth | Pointer to NullableInt64 | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] |
LimitBandwidthUnit | Pointer to NullableString | [optional] [default to "Byte"] | |
LimitDateRangeFrom | Pointer to NullableTime | The starting date/time the token is allowed to be used from. | [optional] |
LimitDateRangeTo | Pointer to NullableTime | The ending date/time the token is allowed to be used until. | [optional] |
LimitNumClients | Pointer to NullableInt64 | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] |
LimitNumDownloads | Pointer to NullableInt64 | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] |
LimitPackageQuery | Pointer to NullableString | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] |
LimitPathQuery | Pointer to NullableString | THIS WILL SOON BE DEPRECATED, please use limit_package_query instead. The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] |
Metadata | Pointer to map[string]interface{} | [optional] | |
Name | string | ||
ScheduledResetAt | Pointer to NullableTime | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] |
ScheduledResetPeriod | Pointer to NullableString | [optional] [default to "Never Reset"] | |
Token | Pointer to string | [optional] |
func NewRepositoryTokenRequest(name string, ) *RepositoryTokenRequest
NewRepositoryTokenRequest instantiates a new RepositoryTokenRequest 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 NewRepositoryTokenRequestWithDefaults() *RepositoryTokenRequest
NewRepositoryTokenRequestWithDefaults instantiates a new RepositoryTokenRequest 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 *RepositoryTokenRequest) GetEulaRequired() bool
GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetEulaRequiredOk() (*bool, bool)
GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetEulaRequired(v bool)
SetEulaRequired sets EulaRequired field to given value.
func (o *RepositoryTokenRequest) HasEulaRequired() bool
HasEulaRequired returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *RepositoryTokenRequest) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) GetLimitBandwidth() int64
GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitBandwidthOk() (*int64, bool)
GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitBandwidth(v int64)
SetLimitBandwidth sets LimitBandwidth field to given value.
func (o *RepositoryTokenRequest) HasLimitBandwidth() bool
HasLimitBandwidth returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitBandwidthNil(b bool)
SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitBandwidth()
UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitBandwidthUnit() string
GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitBandwidthUnitOk() (*string, bool)
GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitBandwidthUnit(v string)
SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value.
func (o *RepositoryTokenRequest) HasLimitBandwidthUnit() bool
HasLimitBandwidthUnit returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitBandwidthUnitNil(b bool)
SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitBandwidthUnit()
UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitDateRangeFrom() time.Time
GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitDateRangeFromOk() (*time.Time, bool)
GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitDateRangeFrom(v time.Time)
SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value.
func (o *RepositoryTokenRequest) HasLimitDateRangeFrom() bool
HasLimitDateRangeFrom returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitDateRangeFromNil(b bool)
SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitDateRangeFrom()
UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitDateRangeTo() time.Time
GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitDateRangeToOk() (*time.Time, bool)
GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitDateRangeTo(v time.Time)
SetLimitDateRangeTo sets LimitDateRangeTo field to given value.
func (o *RepositoryTokenRequest) HasLimitDateRangeTo() bool
HasLimitDateRangeTo returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitDateRangeToNil(b bool)
SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitDateRangeTo()
UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitNumClients() int64
GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitNumClientsOk() (*int64, bool)
GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitNumClients(v int64)
SetLimitNumClients sets LimitNumClients field to given value.
func (o *RepositoryTokenRequest) HasLimitNumClients() bool
HasLimitNumClients returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitNumClientsNil(b bool)
SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitNumClients()
UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitNumDownloads() int64
GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitNumDownloadsOk() (*int64, bool)
GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitNumDownloads(v int64)
SetLimitNumDownloads sets LimitNumDownloads field to given value.
func (o *RepositoryTokenRequest) HasLimitNumDownloads() bool
HasLimitNumDownloads returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitNumDownloadsNil(b bool)
SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitNumDownloads()
UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitPackageQuery() string
GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitPackageQueryOk() (*string, bool)
GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitPackageQuery(v string)
SetLimitPackageQuery sets LimitPackageQuery field to given value.
func (o *RepositoryTokenRequest) HasLimitPackageQuery() bool
HasLimitPackageQuery returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitPackageQueryNil(b bool)
SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitPackageQuery()
UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil
func (o *RepositoryTokenRequest) GetLimitPathQuery() string
GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetLimitPathQueryOk() (*string, bool)
GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetLimitPathQuery(v string)
SetLimitPathQuery sets LimitPathQuery field to given value.
func (o *RepositoryTokenRequest) HasLimitPathQuery() bool
HasLimitPathQuery returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetLimitPathQueryNil(b bool)
SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil
func (o *RepositoryTokenRequest) UnsetLimitPathQuery()
UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil
func (o *RepositoryTokenRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetMetadataOk() (*map[string]interface{}, 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 *RepositoryTokenRequest) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *RepositoryTokenRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *RepositoryTokenRequest) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *RepositoryTokenRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) 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 *RepositoryTokenRequest) SetName(v string)
SetName sets Name field to given value.
func (o *RepositoryTokenRequest) GetScheduledResetAt() time.Time
GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetScheduledResetAtOk() (*time.Time, bool)
GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetScheduledResetAt(v time.Time)
SetScheduledResetAt sets ScheduledResetAt field to given value.
func (o *RepositoryTokenRequest) HasScheduledResetAt() bool
HasScheduledResetAt returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetScheduledResetAtNil(b bool)
SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil
func (o *RepositoryTokenRequest) UnsetScheduledResetAt()
UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil
func (o *RepositoryTokenRequest) GetScheduledResetPeriod() string
GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) GetScheduledResetPeriodOk() (*string, bool)
GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryTokenRequest) SetScheduledResetPeriod(v string)
SetScheduledResetPeriod sets ScheduledResetPeriod field to given value.
func (o *RepositoryTokenRequest) HasScheduledResetPeriod() bool
HasScheduledResetPeriod returns a boolean if a field has been set.
func (o *RepositoryTokenRequest) SetScheduledResetPeriodNil(b bool)
SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil
func (o *RepositoryTokenRequest) UnsetScheduledResetPeriod()
UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil
func (o *RepositoryTokenRequest) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *RepositoryTokenRequest) 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.
func (o *RepositoryTokenRequest) SetToken(v string)
SetToken sets Token field to given value.
func (o *RepositoryTokenRequest) HasToken() bool
HasToken returns a boolean if a field has been set.