Name | Type | Description | Notes |
---|---|---|---|
Id | string | ID of the referred resource | |
Environment | Pointer to string | Environment of the referred resource, if env-scoped | [optional] |
Related | string | API URL for accessing or modifying the referred object | [readonly] |
ResourceName | string | CRN reference to the referred resource | [readonly] |
ApiVersion | Pointer to string | API group and version of the referred resource | [optional] [readonly] |
Kind | Pointer to string | Kind of the referred resource | [optional] [readonly] |
func NewObjectReference(id string, related string, resourceName string, ) *ObjectReference
NewObjectReference instantiates a new ObjectReference 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 NewObjectReferenceWithDefaults() *ObjectReference
NewObjectReferenceWithDefaults instantiates a new ObjectReference 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 *ObjectReference) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ObjectReference) 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 *ObjectReference) SetId(v string)
SetId sets Id field to given value.
func (o *ObjectReference) GetEnvironment() string
GetEnvironment returns the Environment field if non-nil, zero value otherwise.
func (o *ObjectReference) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectReference) SetEnvironment(v string)
SetEnvironment sets Environment field to given value.
func (o *ObjectReference) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (o *ObjectReference) GetRelated() string
GetRelated returns the Related field if non-nil, zero value otherwise.
func (o *ObjectReference) GetRelatedOk() (*string, bool)
GetRelatedOk returns a tuple with the Related field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectReference) SetRelated(v string)
SetRelated sets Related field to given value.
func (o *ObjectReference) GetResourceName() string
GetResourceName returns the ResourceName field if non-nil, zero value otherwise.
func (o *ObjectReference) GetResourceNameOk() (*string, bool)
GetResourceNameOk returns a tuple with the ResourceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectReference) SetResourceName(v string)
SetResourceName sets ResourceName field to given value.
func (o *ObjectReference) GetApiVersion() string
GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.
func (o *ObjectReference) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ObjectReference) SetApiVersion(v string)
SetApiVersion sets ApiVersion field to given value.
func (o *ObjectReference) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (o *ObjectReference) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *ObjectReference) 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.
func (o *ObjectReference) SetKind(v string)
SetKind sets Kind field to given value.
func (o *ObjectReference) HasKind() bool
HasKind returns a boolean if a field has been set.