Skip to content

Latest commit

 

History

History
537 lines (294 loc) · 13.5 KB

Template.md

File metadata and controls

537 lines (294 loc) · 13.5 KB

Template

Properties

Name Type Description Notes
Id Pointer to string [optional] [readonly]
ExternalId Pointer to NullableString [optional]
Name string
Description Pointer to string [optional]
ServiceType string
Type string
Subtype Pointer to NullableString [optional]
Configuration Pointer to string [optional]
Attributes Pointer to map[string]string [optional]
Tags Pointer to []string [optional]
Notes Pointer to NullableString [optional]
Status Pointer to TemplateStatus [optional]
StatusDetails Pointer to NullableString [optional] [readonly]
CreatedOn Pointer to NullableTime [optional] [readonly]
CreatedBy Pointer to NullableString [optional] [readonly]
ModifiedOn Pointer to NullableTime [optional] [readonly]
ModifiedBy Pointer to NullableString [optional] [readonly]

Methods

NewTemplate

func NewTemplate(name string, serviceType string, type_ string, ) *Template

NewTemplate instantiates a new Template 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

NewTemplateWithDefaults

func NewTemplateWithDefaults() *Template

NewTemplateWithDefaults instantiates a new Template 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

GetId

func (o *Template) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Template) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *Template) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Template) HasId() bool

HasId returns a boolean if a field has been set.

GetExternalId

func (o *Template) GetExternalId() string

GetExternalId returns the ExternalId field if non-nil, zero value otherwise.

GetExternalIdOk

func (o *Template) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExternalId

func (o *Template) SetExternalId(v string)

SetExternalId sets ExternalId field to given value.

HasExternalId

func (o *Template) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

SetExternalIdNil

func (o *Template) SetExternalIdNil(b bool)

SetExternalIdNil sets the value for ExternalId to be an explicit nil

UnsetExternalId

func (o *Template) UnsetExternalId()

UnsetExternalId ensures that no value is present for ExternalId, not even an explicit nil

GetName

func (o *Template) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Template) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *Template) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *Template) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Template) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *Template) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Template) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetServiceType

func (o *Template) GetServiceType() string

GetServiceType returns the ServiceType field if non-nil, zero value otherwise.

GetServiceTypeOk

func (o *Template) GetServiceTypeOk() (*string, bool)

GetServiceTypeOk returns a tuple with the ServiceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetServiceType

func (o *Template) SetServiceType(v string)

SetServiceType sets ServiceType field to given value.

GetType

func (o *Template) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Template) 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 *Template) SetType(v string)

SetType sets Type field to given value.

GetSubtype

func (o *Template) GetSubtype() string

GetSubtype returns the Subtype field if non-nil, zero value otherwise.

GetSubtypeOk

func (o *Template) GetSubtypeOk() (*string, bool)

GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubtype

func (o *Template) SetSubtype(v string)

SetSubtype sets Subtype field to given value.

HasSubtype

func (o *Template) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

SetSubtypeNil

func (o *Template) SetSubtypeNil(b bool)

SetSubtypeNil sets the value for Subtype to be an explicit nil

UnsetSubtype

func (o *Template) UnsetSubtype()

UnsetSubtype ensures that no value is present for Subtype, not even an explicit nil

GetConfiguration

func (o *Template) GetConfiguration() string

GetConfiguration returns the Configuration field if non-nil, zero value otherwise.

GetConfigurationOk

func (o *Template) GetConfigurationOk() (*string, bool)

GetConfigurationOk returns a tuple with the Configuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetConfiguration

func (o *Template) SetConfiguration(v string)

SetConfiguration sets Configuration field to given value.

HasConfiguration

func (o *Template) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

GetAttributes

func (o *Template) GetAttributes() map[string]string

GetAttributes returns the Attributes field if non-nil, zero value otherwise.

GetAttributesOk

func (o *Template) GetAttributesOk() (*map[string]string, bool)

GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAttributes

func (o *Template) SetAttributes(v map[string]string)

SetAttributes sets Attributes field to given value.

HasAttributes

func (o *Template) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

GetTags

func (o *Template) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *Template) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *Template) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *Template) HasTags() bool

HasTags returns a boolean if a field has been set.

GetNotes

func (o *Template) GetNotes() string

GetNotes returns the Notes field if non-nil, zero value otherwise.

GetNotesOk

func (o *Template) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNotes

func (o *Template) SetNotes(v string)

SetNotes sets Notes field to given value.

HasNotes

func (o *Template) HasNotes() bool

HasNotes returns a boolean if a field has been set.

SetNotesNil

func (o *Template) SetNotesNil(b bool)

SetNotesNil sets the value for Notes to be an explicit nil

UnsetNotes

func (o *Template) UnsetNotes()

UnsetNotes ensures that no value is present for Notes, not even an explicit nil

GetStatus

func (o *Template) GetStatus() TemplateStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *Template) GetStatusOk() (*TemplateStatus, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *Template) SetStatus(v TemplateStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *Template) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetStatusDetails

func (o *Template) GetStatusDetails() string

GetStatusDetails returns the StatusDetails field if non-nil, zero value otherwise.

GetStatusDetailsOk

func (o *Template) GetStatusDetailsOk() (*string, bool)

GetStatusDetailsOk returns a tuple with the StatusDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatusDetails

func (o *Template) SetStatusDetails(v string)

SetStatusDetails sets StatusDetails field to given value.

HasStatusDetails

func (o *Template) HasStatusDetails() bool

HasStatusDetails returns a boolean if a field has been set.

SetStatusDetailsNil

func (o *Template) SetStatusDetailsNil(b bool)

SetStatusDetailsNil sets the value for StatusDetails to be an explicit nil

UnsetStatusDetails

func (o *Template) UnsetStatusDetails()

UnsetStatusDetails ensures that no value is present for StatusDetails, not even an explicit nil

GetCreatedOn

func (o *Template) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.

GetCreatedOnOk

func (o *Template) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedOn

func (o *Template) SetCreatedOn(v time.Time)

SetCreatedOn sets CreatedOn field to given value.

HasCreatedOn

func (o *Template) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

SetCreatedOnNil

func (o *Template) SetCreatedOnNil(b bool)

SetCreatedOnNil sets the value for CreatedOn to be an explicit nil

UnsetCreatedOn

func (o *Template) UnsetCreatedOn()

UnsetCreatedOn ensures that no value is present for CreatedOn, not even an explicit nil

GetCreatedBy

func (o *Template) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *Template) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedBy

func (o *Template) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *Template) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

SetCreatedByNil

func (o *Template) SetCreatedByNil(b bool)

SetCreatedByNil sets the value for CreatedBy to be an explicit nil

UnsetCreatedBy

func (o *Template) UnsetCreatedBy()

UnsetCreatedBy ensures that no value is present for CreatedBy, not even an explicit nil

GetModifiedOn

func (o *Template) GetModifiedOn() time.Time

GetModifiedOn returns the ModifiedOn field if non-nil, zero value otherwise.

GetModifiedOnOk

func (o *Template) GetModifiedOnOk() (*time.Time, bool)

GetModifiedOnOk returns a tuple with the ModifiedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModifiedOn

func (o *Template) SetModifiedOn(v time.Time)

SetModifiedOn sets ModifiedOn field to given value.

HasModifiedOn

func (o *Template) HasModifiedOn() bool

HasModifiedOn returns a boolean if a field has been set.

SetModifiedOnNil

func (o *Template) SetModifiedOnNil(b bool)

SetModifiedOnNil sets the value for ModifiedOn to be an explicit nil

UnsetModifiedOn

func (o *Template) UnsetModifiedOn()

UnsetModifiedOn ensures that no value is present for ModifiedOn, not even an explicit nil

GetModifiedBy

func (o *Template) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *Template) GetModifiedByOk() (*string, bool)

GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModifiedBy

func (o *Template) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

HasModifiedBy

func (o *Template) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

SetModifiedByNil

func (o *Template) SetModifiedByNil(b bool)

SetModifiedByNil sets the value for ModifiedBy to be an explicit nil

UnsetModifiedBy

func (o *Template) UnsetModifiedBy()

UnsetModifiedBy ensures that no value is present for ModifiedBy, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]