Name | Type | Description | Notes |
---|---|---|---|
Object | string | Type of Object, always equals to "collection" | |
Id | string | Unique identifier for the collection | |
Title | string | Title of the collection | |
Path | Pointer to string | Path in the published URL | [optional] |
Visibility | ContentVisibility | ||
PublishingType | Pointer to string | [optional] | |
PrimarySpace | Pointer to string | ID of the primary space for this collection | [optional] |
Collection | Pointer to string | ID of the parent collection, if any | [optional] |
func NewCollection(object string, id string, title string, visibility ContentVisibility, ) *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) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *Collection) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetObject(v string)
SetObject sets Object field to given value.
func (o *Collection) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Collection) 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 *Collection) SetId(v string)
SetId sets Id field to given value.
func (o *Collection) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Collection) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *Collection) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *Collection) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetPath(v string)
SetPath sets Path field to given value.
func (o *Collection) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *Collection) GetVisibility() ContentVisibility
GetVisibility returns the Visibility field if non-nil, zero value otherwise.
func (o *Collection) GetVisibilityOk() (*ContentVisibility, bool)
GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetVisibility(v ContentVisibility)
SetVisibility sets Visibility field to given value.
func (o *Collection) GetPublishingType() string
GetPublishingType returns the PublishingType field if non-nil, zero value otherwise.
func (o *Collection) GetPublishingTypeOk() (*string, bool)
GetPublishingTypeOk returns a tuple with the PublishingType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetPublishingType(v string)
SetPublishingType sets PublishingType field to given value.
func (o *Collection) HasPublishingType() bool
HasPublishingType returns a boolean if a field has been set.
func (o *Collection) GetPrimarySpace() string
GetPrimarySpace returns the PrimarySpace field if non-nil, zero value otherwise.
func (o *Collection) GetPrimarySpaceOk() (*string, bool)
GetPrimarySpaceOk returns a tuple with the PrimarySpace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetPrimarySpace(v string)
SetPrimarySpace sets PrimarySpace field to given value.
func (o *Collection) HasPrimarySpace() bool
HasPrimarySpace returns a boolean if a field has been set.
func (o *Collection) GetCollection() string
GetCollection returns the Collection field if non-nil, zero value otherwise.
func (o *Collection) GetCollectionOk() (*string, bool)
GetCollectionOk returns a tuple with the Collection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collection) SetCollection(v string)
SetCollection sets Collection field to given value.
func (o *Collection) HasCollection() bool
HasCollection returns a boolean if a field has been set.