bunnyshell.com/sdk@v0.16.0/docs/FromTemplate.md (about) 1 # FromTemplate 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Type** | Pointer to **string** | | [optional] [default to "template"] 8 **Variables** | Pointer to [**map[string]FromTemplateVariablesValue**](FromTemplateVariablesValue.md) | | [optional] 9 **Template** | Pointer to **string** | | [optional] 10 11 ## Methods 12 13 ### NewFromTemplate 14 15 `func NewFromTemplate() *FromTemplate` 16 17 NewFromTemplate instantiates a new FromTemplate object 18 This constructor will assign default values to properties that have it defined, 19 and makes sure properties required by API are set, but the set of arguments 20 will change when the set of required properties is changed 21 22 ### NewFromTemplateWithDefaults 23 24 `func NewFromTemplateWithDefaults() *FromTemplate` 25 26 NewFromTemplateWithDefaults instantiates a new FromTemplate object 27 This constructor will only assign default values to properties that have it defined, 28 but it doesn't guarantee that properties required by API are set 29 30 ### GetType 31 32 `func (o *FromTemplate) GetType() string` 33 34 GetType returns the Type field if non-nil, zero value otherwise. 35 36 ### GetTypeOk 37 38 `func (o *FromTemplate) GetTypeOk() (*string, bool)` 39 40 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 41 and a boolean to check if the value has been set. 42 43 ### SetType 44 45 `func (o *FromTemplate) SetType(v string)` 46 47 SetType sets Type field to given value. 48 49 ### HasType 50 51 `func (o *FromTemplate) HasType() bool` 52 53 HasType returns a boolean if a field has been set. 54 55 ### GetVariables 56 57 `func (o *FromTemplate) GetVariables() map[string]FromTemplateVariablesValue` 58 59 GetVariables returns the Variables field if non-nil, zero value otherwise. 60 61 ### GetVariablesOk 62 63 `func (o *FromTemplate) GetVariablesOk() (*map[string]FromTemplateVariablesValue, bool)` 64 65 GetVariablesOk returns a tuple with the Variables field if it's non-nil, zero value otherwise 66 and a boolean to check if the value has been set. 67 68 ### SetVariables 69 70 `func (o *FromTemplate) SetVariables(v map[string]FromTemplateVariablesValue)` 71 72 SetVariables sets Variables field to given value. 73 74 ### HasVariables 75 76 `func (o *FromTemplate) HasVariables() bool` 77 78 HasVariables returns a boolean if a field has been set. 79 80 ### GetTemplate 81 82 `func (o *FromTemplate) GetTemplate() string` 83 84 GetTemplate returns the Template field if non-nil, zero value otherwise. 85 86 ### GetTemplateOk 87 88 `func (o *FromTemplate) GetTemplateOk() (*string, bool)` 89 90 GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise 91 and a boolean to check if the value has been set. 92 93 ### SetTemplate 94 95 `func (o *FromTemplate) SetTemplate(v string)` 96 97 SetTemplate sets Template field to given value. 98 99 ### HasTemplate 100 101 `func (o *FromTemplate) HasTemplate() bool` 102 103 HasTemplate returns a boolean if a field has been set. 104 105 106 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 107 108