Name | Type | Description | Notes |
---|---|---|---|
Body | Pointer to string | [optional] | |
Code | Pointer to int32 | [optional] | |
Enabled | Pointer to bool | [optional] | |
FromOASExamples | Pointer to NullableFromOASExamples | [optional] | |
Headers | Pointer to []Header | [optional] |
func NewMockResponse() *MockResponse
NewMockResponse instantiates a new MockResponse 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 NewMockResponseWithDefaults() *MockResponse
NewMockResponseWithDefaults instantiates a new MockResponse 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 *MockResponse) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *MockResponse) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MockResponse) SetBody(v string)
SetBody sets Body field to given value.
func (o *MockResponse) HasBody() bool
HasBody returns a boolean if a field has been set.
func (o *MockResponse) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *MockResponse) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MockResponse) SetCode(v int32)
SetCode sets Code field to given value.
func (o *MockResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *MockResponse) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *MockResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MockResponse) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *MockResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *MockResponse) GetFromOASExamples() FromOASExamples
GetFromOASExamples returns the FromOASExamples field if non-nil, zero value otherwise.
func (o *MockResponse) GetFromOASExamplesOk() (*FromOASExamples, bool)
GetFromOASExamplesOk returns a tuple with the FromOASExamples field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MockResponse) SetFromOASExamples(v FromOASExamples)
SetFromOASExamples sets FromOASExamples field to given value.
func (o *MockResponse) HasFromOASExamples() bool
HasFromOASExamples returns a boolean if a field has been set.
func (o *MockResponse) SetFromOASExamplesNil(b bool)
SetFromOASExamplesNil sets the value for FromOASExamples to be an explicit nil
func (o *MockResponse) UnsetFromOASExamples()
UnsetFromOASExamples ensures that no value is present for FromOASExamples, not even an explicit nil
func (o *MockResponse) GetHeaders() []Header
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *MockResponse) GetHeadersOk() (*[]Header, bool)
GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MockResponse) SetHeaders(v []Header)
SetHeaders sets Headers field to given value.
func (o *MockResponse) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.