go-redfish/client/docs/IdRef.md
James Gu c442eb5bcb Upgrade openapi generator to v5.1.0
Upgraded openapi generator version to 5.1.0 for the support of nullable
values for optional fields; Added missing "Disabled" enum value to the
BootSourceOverrideEnabled model in the openapi schema.

Signed-off-by: James Gu <james.gu@att.com>
Change-Id: Ia3e0b018be13079d2085ef61ed2e797bcfd25fd7
2021-05-05 10:18:32 -04:00

1.5 KiB

IdRef

Properties

Name Type Description Notes
OdataId Pointer to string The unique identifier for a resource. [optional] [readonly]

Methods

NewIdRef

func NewIdRef() *IdRef

NewIdRef instantiates a new IdRef 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

NewIdRefWithDefaults

func NewIdRefWithDefaults() *IdRef

NewIdRefWithDefaults instantiates a new IdRef 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

GetOdataId

func (o *IdRef) GetOdataId() string

GetOdataId returns the OdataId field if non-nil, zero value otherwise.

GetOdataIdOk

func (o *IdRef) GetOdataIdOk() (*string, bool)

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

SetOdataId

func (o *IdRef) SetOdataId(v string)

SetOdataId sets OdataId field to given value.

HasOdataId

func (o *IdRef) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

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