Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.3 KB

File metadata and controls

186 lines (101 loc) · 4.3 KB

Resource

Properties

Name Type Description Notes
Id Pointer to string [optional]
Kind Pointer to string [optional]
Name Pointer to string [optional]
Organisation Pointer to string [optional]
Project Pointer to string [optional]
Uri Pointer to string [optional]

Methods

NewResource

func NewResource() *Resource

NewResource instantiates a new Resource 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

NewResourceWithDefaults

func NewResourceWithDefaults() *Resource

NewResourceWithDefaults instantiates a new Resource 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

GetId

func (o *Resource) GetId() string

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

GetIdOk

func (o *Resource) 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 *Resource) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Resource) HasId() bool

HasId returns a boolean if a field has been set.

GetKind

func (o *Resource) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *Resource) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *Resource) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *Resource) HasKind() bool

HasKind returns a boolean if a field has been set.

GetName

func (o *Resource) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Resource) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *Resource) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Resource) HasName() bool

HasName returns a boolean if a field has been set.

GetOrganisation

func (o *Resource) GetOrganisation() string

GetOrganisation returns the Organisation field if non-nil, zero value otherwise.

GetOrganisationOk

func (o *Resource) GetOrganisationOk() (*string, bool)

GetOrganisationOk returns a tuple with the Organisation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOrganisation

func (o *Resource) SetOrganisation(v string)

SetOrganisation sets Organisation field to given value.

HasOrganisation

func (o *Resource) HasOrganisation() bool

HasOrganisation returns a boolean if a field has been set.

GetProject

func (o *Resource) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *Resource) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProject

func (o *Resource) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *Resource) HasProject() bool

HasProject returns a boolean if a field has been set.

GetUri

func (o *Resource) GetUri() string

GetUri returns the Uri field if non-nil, zero value otherwise.

GetUriOk

func (o *Resource) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUri

func (o *Resource) SetUri(v string)

SetUri sets Uri field to given value.

HasUri

func (o *Resource) HasUri() bool

HasUri returns a boolean if a field has been set.

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