Skip to main content

ResourceV2

Properties​

NameTypeDescriptionNotes
IdPointer to stringThe source resource identifier.[optional]
TypePointer to stringThe type of the source resource.[optional]
NamePointer to stringThe display name of the source resource.[optional]
FeaturesPointer to []stringThe set of features supported by the source resource.[optional]

Methods​

NewResourceV2​

func NewResourceV2() *ResourceV2

NewResourceV2 instantiates a new ResourceV2 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

NewResourceV2WithDefaults​

func NewResourceV2WithDefaults() *ResourceV2

NewResourceV2WithDefaults instantiates a new ResourceV2 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 *ResourceV2) GetId() string

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

GetIdOk​

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

SetId sets Id field to given value.

HasId​

func (o *ResourceV2) HasId() bool

HasId returns a boolean if a field has been set.

GetType​

func (o *ResourceV2) GetType() string

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

GetTypeOk​

func (o *ResourceV2) GetTypeOk() (*string, 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 *ResourceV2) SetType(v string)

SetType sets Type field to given value.

HasType​

func (o *ResourceV2) HasType() bool

HasType returns a boolean if a field has been set.

GetName​

func (o *ResourceV2) GetName() string

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

GetNameOk​

func (o *ResourceV2) 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 *ResourceV2) SetName(v string)

SetName sets Name field to given value.

HasName​

func (o *ResourceV2) HasName() bool

HasName returns a boolean if a field has been set.

GetFeatures​

func (o *ResourceV2) GetFeatures() []string

GetFeatures returns the Features field if non-nil, zero value otherwise.

GetFeaturesOk​

func (o *ResourceV2) GetFeaturesOk() (*[]string, bool)

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

SetFeatures​

func (o *ResourceV2) SetFeatures(v []string)

SetFeatures sets Features field to given value.

HasFeatures​

func (o *ResourceV2) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.