Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 3.41 KB

NewRequest.md

File metadata and controls

129 lines (70 loc) · 3.41 KB

NewRequest

Properties

Name Type Description Notes
Name string
DefaultExpiration Pointer to string [optional] [default to "P90D"]
Produces Pointer to []string [optional] [default to []]
Replaces Pointer to []string [optional] [default to []]

Methods

NewNewRequest

func NewNewRequest(name string, ) *NewRequest

NewNewRequest instantiates a new NewRequest 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

NewNewRequestWithDefaults

func NewNewRequestWithDefaults() *NewRequest

NewNewRequestWithDefaults instantiates a new NewRequest 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 *NewRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetDefaultExpiration

func (o *NewRequest) GetDefaultExpiration() string

GetDefaultExpiration returns the DefaultExpiration field if non-nil, zero value otherwise.

GetDefaultExpirationOk

func (o *NewRequest) GetDefaultExpirationOk() (*string, bool)

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

SetDefaultExpiration

func (o *NewRequest) SetDefaultExpiration(v string)

SetDefaultExpiration sets DefaultExpiration field to given value.

HasDefaultExpiration

func (o *NewRequest) HasDefaultExpiration() bool

HasDefaultExpiration returns a boolean if a field has been set.

GetProduces

func (o *NewRequest) GetProduces() []string

GetProduces returns the Produces field if non-nil, zero value otherwise.

GetProducesOk

func (o *NewRequest) GetProducesOk() (*[]string, bool)

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

SetProduces

func (o *NewRequest) SetProduces(v []string)

SetProduces sets Produces field to given value.

HasProduces

func (o *NewRequest) HasProduces() bool

HasProduces returns a boolean if a field has been set.

GetReplaces

func (o *NewRequest) GetReplaces() []string

GetReplaces returns the Replaces field if non-nil, zero value otherwise.

GetReplacesOk

func (o *NewRequest) GetReplacesOk() (*[]string, bool)

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

SetReplaces

func (o *NewRequest) SetReplaces(v []string)

SetReplaces sets Replaces field to given value.

HasReplaces

func (o *NewRequest) HasReplaces() bool

HasReplaces returns a boolean if a field has been set.

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