Name | Type | Description | Notes |
---|---|---|---|
CollectionId | Pointer to string | The ID of the collection. This is assigned by the backend. | [optional] |
TeamId | Pointer to string | The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID. | [optional] |
Firmware | Pointer to CollectionFirmware | [optional] | |
Tags | Pointer to map[string]string | Tags for the collection. Tags are metadata fields that you can assign to the collection. | [optional] |
UpstreamTimestamps | Pointer to []string | [optional] | |
DownstreamTimestamps | Pointer to []string | [optional] | |
Enabled | Pointer to bool | Disabled flag for collection. If the collection is disabled it is in effect read only and inactive. You can't update a disabled collection. | [optional] |
func NewCollection() *Collection
NewCollection instantiates a new Collection 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 NewCollectionWithDefaults() *Collection
NewCollectionWithDefaults instantiates a new Collection 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 *Collection) GetCollectionId() string
GetCollectionId returns the CollectionId field if non-nil, zero value otherwise.
func (o *Collection) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetCollectionId(v string)
SetCollectionId sets CollectionId field to given value.
func (o *Collection) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (o *Collection) GetTeamId() string
GetTeamId returns the TeamId field if non-nil, zero value otherwise.
func (o *Collection) GetTeamIdOk() (*string, bool)
GetTeamIdOk returns a tuple with the TeamId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetTeamId(v string)
SetTeamId sets TeamId field to given value.
func (o *Collection) HasTeamId() bool
HasTeamId returns a boolean if a field has been set.
func (o *Collection) GetFirmware() CollectionFirmware
GetFirmware returns the Firmware field if non-nil, zero value otherwise.
func (o *Collection) GetFirmwareOk() (*CollectionFirmware, bool)
GetFirmwareOk returns a tuple with the Firmware field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetFirmware(v CollectionFirmware)
SetFirmware sets Firmware field to given value.
func (o *Collection) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (o *Collection) GetTags() map[string]string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Collection) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetTags(v map[string]string)
SetTags sets Tags field to given value.
func (o *Collection) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *Collection) GetUpstreamTimestamps() []string
GetUpstreamTimestamps returns the UpstreamTimestamps field if non-nil, zero value otherwise.
func (o *Collection) GetUpstreamTimestampsOk() (*[]string, bool)
GetUpstreamTimestampsOk returns a tuple with the UpstreamTimestamps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetUpstreamTimestamps(v []string)
SetUpstreamTimestamps sets UpstreamTimestamps field to given value.
func (o *Collection) HasUpstreamTimestamps() bool
HasUpstreamTimestamps returns a boolean if a field has been set.
func (o *Collection) GetDownstreamTimestamps() []string
GetDownstreamTimestamps returns the DownstreamTimestamps field if non-nil, zero value otherwise.
func (o *Collection) GetDownstreamTimestampsOk() (*[]string, bool)
GetDownstreamTimestampsOk returns a tuple with the DownstreamTimestamps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetDownstreamTimestamps(v []string)
SetDownstreamTimestamps sets DownstreamTimestamps field to given value.
func (o *Collection) HasDownstreamTimestamps() bool
HasDownstreamTimestamps returns a boolean if a field has been set.
func (o *Collection) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Collection) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Collection) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.