Skip to content

Latest commit

 

History

History
328 lines (175 loc) · 8.7 KB

SpaceRelationTarget.md

File metadata and controls

328 lines (175 loc) · 8.7 KB

SpaceRelationTarget

Properties

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]

Methods

NewSpaceRelationTarget

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

NewSpaceRelationTargetWithDefaults

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

GetObject

func (o *SpaceRelationTarget) GetObject() string

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

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.

SetObject

func (o *SpaceRelationTarget) SetObject(v string)

SetObject sets Object field to given value.

GetId

func (o *SpaceRelationTarget) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *SpaceRelationTarget) SetId(v string)

SetId sets Id field to given value.

GetType

func (o *SpaceRelationTarget) GetType() SpaceType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *SpaceRelationTarget) SetType(v SpaceType)

SetType sets Type field to given value.

GetTitle

func (o *SpaceRelationTarget) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

SetTitle

func (o *SpaceRelationTarget) SetTitle(v string)

SetTitle sets Title field to given value.

GetVisibility

func (o *SpaceRelationTarget) GetVisibility() ContentVisibility

GetVisibility returns the Visibility field if non-nil, zero value otherwise.

GetVisibilityOk

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.

SetVisibility

func (o *SpaceRelationTarget) SetVisibility(v ContentVisibility)

SetVisibility sets Visibility field to given value.

GetCreatedAt

func (o *SpaceRelationTarget) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

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.

SetCreatedAt

func (o *SpaceRelationTarget) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *SpaceRelationTarget) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

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.

SetUpdatedAt

func (o *SpaceRelationTarget) SetUpdatedAt(v string)

SetUpdatedAt sets UpdatedAt field to given value.

GetDeletedAt

func (o *SpaceRelationTarget) GetDeletedAt() string

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

GetDeletedAtOk

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.

SetDeletedAt

func (o *SpaceRelationTarget) SetDeletedAt(v string)

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *SpaceRelationTarget) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

GetUrls

func (o *SpaceRelationTarget) GetUrls() SpaceUrls

GetUrls returns the Urls field if non-nil, zero value otherwise.

GetUrlsOk

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.

SetUrls

func (o *SpaceRelationTarget) SetUrls(v SpaceUrls)

SetUrls sets Urls field to given value.

GetOrganization

func (o *SpaceRelationTarget) GetOrganization() string

GetOrganization returns the Organization field if non-nil, zero value otherwise.

GetOrganizationOk

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.

SetOrganization

func (o *SpaceRelationTarget) SetOrganization(v string)

SetOrganization sets Organization field to given value.

HasOrganization

func (o *SpaceRelationTarget) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

GetUser

func (o *SpaceRelationTarget) GetUser() string

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

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.

SetUser

func (o *SpaceRelationTarget) SetUser(v string)

SetUser sets User field to given value.

HasUser

func (o *SpaceRelationTarget) HasUser() bool

HasUser returns a boolean if a field has been set.

GetPrivate

func (o *SpaceRelationTarget) GetPrivate() string

GetPrivate returns the Private field if non-nil, zero value otherwise.

GetPrivateOk

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.

SetPrivate

func (o *SpaceRelationTarget) SetPrivate(v string)

SetPrivate sets Private field to given value.

HasPrivate

func (o *SpaceRelationTarget) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

GetParent

func (o *SpaceRelationTarget) GetParent() string

GetParent returns the Parent field if non-nil, zero value otherwise.

GetParentOk

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.

SetParent

func (o *SpaceRelationTarget) SetParent(v string)

SetParent sets Parent field to given value.

HasParent

func (o *SpaceRelationTarget) HasParent() bool

HasParent returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]