UserResource
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewUserResource(type_ ResourceType, id string, href string, properties UserProperties, ) *UserResource
NewUserResource instantiates a new UserResource 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 NewUserResourceWithDefaults() *UserResource
NewUserResourceWithDefaults instantiates a new UserResource 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 *UserResource) GetType() ResourceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *UserResource) GetTypeOk() (*ResourceType, 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 *UserResource) SetType(v ResourceType)
SetType sets Type field to given value.
func (o *UserResource) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UserResource) 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 *UserResource) SetId(v string)
SetId sets Id field to given value.
func (o *UserResource) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *UserResource) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResource) SetHref(v string)
SetHref sets Href field to given value.
func (o *UserResource) GetMetadata() Metadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *UserResource) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResource) SetMetadata(v Metadata)
SetMetadata sets Metadata field to given value.
func (o *UserResource) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *UserResource) GetProperties() UserProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *UserResource) GetPropertiesOk() (*UserProperties, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResource) SetProperties(v UserProperties)
SetProperties sets Properties field to given value.
Type
Id
string
The unique ID of the resource.
Href
string
Absolute URL of the resource.
Metadata
Pointer to Metadata
[optional]
Properties