github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/PackerFormatJson.md (about) 1 # PackerFormatJson 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Header** | [**PackerFormatJsonHeader**](PackerFormatJsonHeader.md) | | 8 **Payload** | **interface{}** | | 9 10 ## Methods 11 12 ### NewPackerFormatJson 13 14 `func NewPackerFormatJson(header PackerFormatJsonHeader, payload interface{}, ) *PackerFormatJson` 15 16 NewPackerFormatJson instantiates a new PackerFormatJson object 17 This constructor will assign default values to properties that have it defined, 18 and makes sure properties required by API are set, but the set of arguments 19 will change when the set of required properties is changed 20 21 ### NewPackerFormatJsonWithDefaults 22 23 `func NewPackerFormatJsonWithDefaults() *PackerFormatJson` 24 25 NewPackerFormatJsonWithDefaults instantiates a new PackerFormatJson object 26 This constructor will only assign default values to properties that have it defined, 27 but it doesn't guarantee that properties required by API are set 28 29 ### GetHeader 30 31 `func (o *PackerFormatJson) GetHeader() PackerFormatJsonHeader` 32 33 GetHeader returns the Header field if non-nil, zero value otherwise. 34 35 ### GetHeaderOk 36 37 `func (o *PackerFormatJson) GetHeaderOk() (*PackerFormatJsonHeader, bool)` 38 39 GetHeaderOk returns a tuple with the Header field if it's non-nil, zero value otherwise 40 and a boolean to check if the value has been set. 41 42 ### SetHeader 43 44 `func (o *PackerFormatJson) SetHeader(v PackerFormatJsonHeader)` 45 46 SetHeader sets Header field to given value. 47 48 49 ### GetPayload 50 51 `func (o *PackerFormatJson) GetPayload() interface{}` 52 53 GetPayload returns the Payload field if non-nil, zero value otherwise. 54 55 ### GetPayloadOk 56 57 `func (o *PackerFormatJson) GetPayloadOk() (*interface{}, bool)` 58 59 GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise 60 and a boolean to check if the value has been set. 61 62 ### SetPayload 63 64 `func (o *PackerFormatJson) SetPayload(v interface{})` 65 66 SetPayload sets Payload field to given value. 67 68 69 ### SetPayloadNil 70 71 `func (o *PackerFormatJson) SetPayloadNil(b bool)` 72 73 SetPayloadNil sets the value for Payload to be an explicit nil 74 75 ### UnsetPayload 76 `func (o *PackerFormatJson) UnsetPayload()` 77 78 UnsetPayload ensures that no value is present for Payload, not even an explicit nil 79 80 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 82