3.5 KiB
UsageUsageAnalyticsGrant
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Datastore | Pointer to bool | Datastore is whether the plan may read GET /v1/usage/analytics at all. The free floor is false, and that is what a catalog outage resolves to. | [optional] |
| Export | Pointer to bool | Export is whether the plan may export the analytics it can read. | [optional] |
| RetentionDays | Pointer to int64 | RetentionDays is how far back the plan may read. GET /v1/usage/analytics clamps a custom window's start to this, so an older `start` returns the clamped window rather than an error. | [optional] |
Methods
NewUsageUsageAnalyticsGrant
func NewUsageUsageAnalyticsGrant() *UsageUsageAnalyticsGrant
NewUsageUsageAnalyticsGrant instantiates a new UsageUsageAnalyticsGrant 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
NewUsageUsageAnalyticsGrantWithDefaults
func NewUsageUsageAnalyticsGrantWithDefaults() *UsageUsageAnalyticsGrant
NewUsageUsageAnalyticsGrantWithDefaults instantiates a new UsageUsageAnalyticsGrant 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
GetDatastore
func (o *UsageUsageAnalyticsGrant) GetDatastore() bool
GetDatastore returns the Datastore field if non-nil, zero value otherwise.
GetDatastoreOk
func (o *UsageUsageAnalyticsGrant) GetDatastoreOk() (*bool, bool)
GetDatastoreOk returns a tuple with the Datastore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDatastore
func (o *UsageUsageAnalyticsGrant) SetDatastore(v bool)
SetDatastore sets Datastore field to given value.
HasDatastore
func (o *UsageUsageAnalyticsGrant) HasDatastore() bool
HasDatastore returns a boolean if a field has been set.
GetExport
func (o *UsageUsageAnalyticsGrant) GetExport() bool
GetExport returns the Export field if non-nil, zero value otherwise.
GetExportOk
func (o *UsageUsageAnalyticsGrant) GetExportOk() (*bool, bool)
GetExportOk returns a tuple with the Export field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetExport
func (o *UsageUsageAnalyticsGrant) SetExport(v bool)
SetExport sets Export field to given value.
HasExport
func (o *UsageUsageAnalyticsGrant) HasExport() bool
HasExport returns a boolean if a field has been set.
GetRetentionDays
func (o *UsageUsageAnalyticsGrant) GetRetentionDays() int64
GetRetentionDays returns the RetentionDays field if non-nil, zero value otherwise.
GetRetentionDaysOk
func (o *UsageUsageAnalyticsGrant) GetRetentionDaysOk() (*int64, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRetentionDays
func (o *UsageUsageAnalyticsGrant) SetRetentionDays(v int64)
SetRetentionDays sets RetentionDays field to given value.
HasRetentionDays
func (o *UsageUsageAnalyticsGrant) HasRetentionDays() bool
HasRetentionDays returns a boolean if a field has been set.