* Instead of limiting a request to a single file when performing an upload, use a slice of files so an arbitrary number of files can be used in the form. * Remove commented out line of code * Update examples for multi-form file fix for multiple files * Convert spaces to tabs for indentation * Updated examples to have tabs instead of spaces * Add an example of a multipart/form-data OA3 schema that contains two files to be uploaded
2.6 KiB
ApiResponse
Properties
Name | Type | Description | Notes |
---|---|---|---|
Code | Pointer to int32 | [optional] | |
Type | Pointer to string | [optional] | |
Message | Pointer to string | [optional] |
Methods
NewApiResponse
func NewApiResponse() *ApiResponse
NewApiResponse instantiates a new ApiResponse 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
NewApiResponseWithDefaults
func NewApiResponseWithDefaults() *ApiResponse
NewApiResponseWithDefaults instantiates a new ApiResponse 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
GetCode
func (o *ApiResponse) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
GetCodeOk
func (o *ApiResponse) 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.
SetCode
func (o *ApiResponse) SetCode(v int32)
SetCode sets Code field to given value.
HasCode
func (o *ApiResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
GetType
func (o *ApiResponse) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *ApiResponse) 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.
SetType
func (o *ApiResponse) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *ApiResponse) HasType() bool
HasType returns a boolean if a field has been set.
GetMessage
func (o *ApiResponse) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *ApiResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessage
func (o *ApiResponse) SetMessage(v string)
SetMessage sets Message field to given value.
HasMessage
func (o *ApiResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.