garage-admin-sdk-golang/docs/AddKeyRequest.md

1.8 KiB

AddKeyRequest

Properties

Name Type Description Notes
Name Pointer to NullableString [optional]

Methods

NewAddKeyRequest

func NewAddKeyRequest() *AddKeyRequest

NewAddKeyRequest instantiates a new AddKeyRequest 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

NewAddKeyRequestWithDefaults

func NewAddKeyRequestWithDefaults() *AddKeyRequest

NewAddKeyRequestWithDefaults instantiates a new AddKeyRequest 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

GetName

func (o *AddKeyRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *AddKeyRequest) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *AddKeyRequest) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *AddKeyRequest) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

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