Name | Type | Description | Notes |
---|---|---|---|
Reference | string | Reference that allows connecting the response item to the corresponding request item. | |
Code | int32 | HTTP status code as a result of the request. | |
Headers | Pointer to []NameValueStringPairModel | Response headers. | [optional] |
Body | Pointer to NullableString | Response body, if one was present. | [optional] |
func NewBatchResponseItemModel(reference string, code int32, ) *BatchResponseItemModel
NewBatchResponseItemModel instantiates a new BatchResponseItemModel 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 NewBatchResponseItemModelWithDefaults() *BatchResponseItemModel
NewBatchResponseItemModelWithDefaults instantiates a new BatchResponseItemModel 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 *BatchResponseItemModel) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *BatchResponseItemModel) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BatchResponseItemModel) SetReference(v string)
SetReference sets Reference field to given value.
func (o *BatchResponseItemModel) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *BatchResponseItemModel) 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 *BatchResponseItemModel) SetCode(v int32)
SetCode sets Code field to given value.
func (o *BatchResponseItemModel) GetHeaders() []NameValueStringPairModel
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *BatchResponseItemModel) GetHeadersOk() (*[]NameValueStringPairModel, 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 *BatchResponseItemModel) SetHeaders(v []NameValueStringPairModel)
SetHeaders sets Headers field to given value.
func (o *BatchResponseItemModel) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (o *BatchResponseItemModel) SetHeadersNil(b bool)
SetHeadersNil sets the value for Headers to be an explicit nil
func (o *BatchResponseItemModel) UnsetHeaders()
UnsetHeaders ensures that no value is present for Headers, not even an explicit nil
func (o *BatchResponseItemModel) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *BatchResponseItemModel) 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 *BatchResponseItemModel) SetBody(v string)
SetBody sets Body field to given value.
func (o *BatchResponseItemModel) HasBody() bool
HasBody returns a boolean if a field has been set.
func (o *BatchResponseItemModel) SetBodyNil(b bool)
SetBodyNil sets the value for Body to be an explicit nil
func (o *BatchResponseItemModel) UnsetBody()
UnsetBody ensures that no value is present for Body, not even an explicit nil