Skip to content

Latest commit

 

History

History
150 lines (81 loc) · 5.32 KB

AdapterHostEthInterfaceRelationship.md

File metadata and controls

150 lines (81 loc) · 5.32 KB

AdapterHostEthInterfaceRelationship

Properties

Name Type Description Notes
ClassId string The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. [default to "mo.MoRef"]
ObjectType string The fully-qualified name of the remote type referred by this relationship.
Moid Pointer to string The Moid of the referenced REST resource. [optional]
Selector Pointer to string An OData $filter expression which describes the REST resource to be referenced. This field may be set instead of 'moid' by clients. 1. If 'moid' is set this field is ignored. 1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of the resource matching the filter expression and populates it in the MoRef that is part of the object instance being inserted/updated to fulfill the REST request. An error is returned if the filter matches zero or more than one REST resource. An example filter string is: Serial eq '3AA8B7T11'. [optional]
Link Pointer to string A URL to an instance of the 'mo.MoRef' class. [optional]

Methods

NewAdapterHostEthInterfaceRelationship

func NewAdapterHostEthInterfaceRelationship(classId string, objectType string, ) *AdapterHostEthInterfaceRelationship

NewAdapterHostEthInterfaceRelationship instantiates a new AdapterHostEthInterfaceRelationship 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

NewAdapterHostEthInterfaceRelationshipWithDefaults

func NewAdapterHostEthInterfaceRelationshipWithDefaults() *AdapterHostEthInterfaceRelationship

NewAdapterHostEthInterfaceRelationshipWithDefaults instantiates a new AdapterHostEthInterfaceRelationship 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

GetClassId

func (o *AdapterHostEthInterfaceRelationship) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

func (o *AdapterHostEthInterfaceRelationship) GetClassIdOk() (*string, bool)

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

SetClassId

func (o *AdapterHostEthInterfaceRelationship) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *AdapterHostEthInterfaceRelationship) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *AdapterHostEthInterfaceRelationship) GetObjectTypeOk() (*string, bool)

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

SetObjectType

func (o *AdapterHostEthInterfaceRelationship) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetMoid

func (o *AdapterHostEthInterfaceRelationship) GetMoid() string

GetMoid returns the Moid field if non-nil, zero value otherwise.

GetMoidOk

func (o *AdapterHostEthInterfaceRelationship) GetMoidOk() (*string, bool)

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

SetMoid

func (o *AdapterHostEthInterfaceRelationship) SetMoid(v string)

SetMoid sets Moid field to given value.

HasMoid

func (o *AdapterHostEthInterfaceRelationship) HasMoid() bool

HasMoid returns a boolean if a field has been set.

GetSelector

func (o *AdapterHostEthInterfaceRelationship) GetSelector() string

GetSelector returns the Selector field if non-nil, zero value otherwise.

GetSelectorOk

func (o *AdapterHostEthInterfaceRelationship) GetSelectorOk() (*string, bool)

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

SetSelector

func (o *AdapterHostEthInterfaceRelationship) SetSelector(v string)

SetSelector sets Selector field to given value.

HasSelector

func (o *AdapterHostEthInterfaceRelationship) HasSelector() bool

HasSelector returns a boolean if a field has been set.

GetLink

func (o *AdapterHostEthInterfaceRelationship) GetLink() string

GetLink returns the Link field if non-nil, zero value otherwise.

GetLinkOk

func (o *AdapterHostEthInterfaceRelationship) GetLinkOk() (*string, bool)

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

SetLink

func (o *AdapterHostEthInterfaceRelationship) SetLink(v string)

SetLink sets Link field to given value.

HasLink

func (o *AdapterHostEthInterfaceRelationship) HasLink() bool

HasLink returns a boolean if a field has been set.

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