Name | Type | Description | Notes |
---|---|---|---|
Name | string | Parameter name | |
Description | string | Description of this parameter | |
Constraints | MethodParameterConstraints | ||
Type | Pointer to string | Type of the parameter | [optional] [default to "String"] |
func NewMethodParameter(name string, description string, constraints MethodParameterConstraints, ) *MethodParameter
NewMethodParameter instantiates a new MethodParameter 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 NewMethodParameterWithDefaults() *MethodParameter
NewMethodParameterWithDefaults instantiates a new MethodParameter 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 *MethodParameter) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MethodParameter) 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.
func (o *MethodParameter) SetName(v string)
SetName sets Name field to given value.
func (o *MethodParameter) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *MethodParameter) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameter) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *MethodParameter) GetConstraints() MethodParameterConstraints
GetConstraints returns the Constraints field if non-nil, zero value otherwise.
func (o *MethodParameter) GetConstraintsOk() (*MethodParameterConstraints, bool)
GetConstraintsOk returns a tuple with the Constraints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameter) SetConstraints(v MethodParameterConstraints)
SetConstraints sets Constraints field to given value.
func (o *MethodParameter) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *MethodParameter) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MethodParameter) SetType(v string)
SetType sets Type field to given value.
func (o *MethodParameter) HasType() bool
HasType returns a boolean if a field has been set.