Name | Type | Description | Notes |
---|---|---|---|
Object | string | Type of Object, always equals to "space" | |
Id | string | ID of the space | |
Type | SpaceType | ||
Title | string | Title of the space | |
Visibility | ContentVisibility | ||
CreatedAt | string | ||
UpdatedAt | string | ||
DeletedAt | Pointer to string | [optional] | |
Urls | SpaceUrls | ||
Organization | Pointer to string | ID of the organization owning this space | [optional] |
User | Pointer to string | ID of the user owning this space | [optional] |
Private | Pointer to string | If the space is part of the private content of a user, the property is equal to the ID of the user owning it | [optional] |
Parent | Pointer to string | ID of the parent collection. | [optional] |
func NewSpaceRelationTarget(object string, id string, type_ SpaceType, title string, visibility ContentVisibility, createdAt string, updatedAt string, urls SpaceUrls, ) *SpaceRelationTarget
NewSpaceRelationTarget instantiates a new SpaceRelationTarget 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 NewSpaceRelationTargetWithDefaults() *SpaceRelationTarget
NewSpaceRelationTargetWithDefaults instantiates a new SpaceRelationTarget 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 *SpaceRelationTarget) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) 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 *SpaceRelationTarget) SetObject(v string)
SetObject sets Object field to given value.
func (o *SpaceRelationTarget) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) 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 *SpaceRelationTarget) SetId(v string)
SetId sets Id field to given value.
func (o *SpaceRelationTarget) GetType() SpaceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetTypeOk() (*SpaceType, 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 *SpaceRelationTarget) SetType(v SpaceType)
SetType sets Type field to given value.
func (o *SpaceRelationTarget) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) 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 *SpaceRelationTarget) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *SpaceRelationTarget) GetVisibility() ContentVisibility
GetVisibility returns the Visibility field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) 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 *SpaceRelationTarget) SetVisibility(v ContentVisibility)
SetVisibility sets Visibility field to given value.
func (o *SpaceRelationTarget) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetCreatedAtOk() (*string, 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 *SpaceRelationTarget) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *SpaceRelationTarget) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *SpaceRelationTarget) GetDeletedAt() string
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetDeletedAtOk() (*string, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetDeletedAt(v string)
SetDeletedAt sets DeletedAt field to given value.
func (o *SpaceRelationTarget) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (o *SpaceRelationTarget) GetUrls() SpaceUrls
GetUrls returns the Urls field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetUrlsOk() (*SpaceUrls, bool)
GetUrlsOk returns a tuple with the Urls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetUrls(v SpaceUrls)
SetUrls sets Urls field to given value.
func (o *SpaceRelationTarget) GetOrganization() string
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetOrganizationOk() (*string, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetOrganization(v string)
SetOrganization sets Organization field to given value.
func (o *SpaceRelationTarget) HasOrganization() bool
HasOrganization returns a boolean if a field has been set.
func (o *SpaceRelationTarget) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetUser(v string)
SetUser sets User field to given value.
func (o *SpaceRelationTarget) HasUser() bool
HasUser returns a boolean if a field has been set.
func (o *SpaceRelationTarget) GetPrivate() string
GetPrivate returns the Private field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetPrivateOk() (*string, bool)
GetPrivateOk returns a tuple with the Private field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetPrivate(v string)
SetPrivate sets Private field to given value.
func (o *SpaceRelationTarget) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (o *SpaceRelationTarget) GetParent() string
GetParent returns the Parent field if non-nil, zero value otherwise.
func (o *SpaceRelationTarget) GetParentOk() (*string, bool)
GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SpaceRelationTarget) SetParent(v string)
SetParent sets Parent field to given value.
func (o *SpaceRelationTarget) HasParent() bool
HasParent returns a boolean if a field has been set.