Skip to content

Latest commit

 

History

History
228 lines (123 loc) · 5.87 KB

ProviderRequest.md

File metadata and controls

228 lines (123 loc) · 5.87 KB

ProviderRequest

Properties

Name Type Description Notes
Name string Full name of the provider
Slug string
Accounts Pointer to []int32 [optional]
Description Pointer to string [optional]
Comments Pointer to string [optional]
Asns Pointer to []int32 [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewProviderRequest

func NewProviderRequest(name string, slug string, ) *ProviderRequest

NewProviderRequest instantiates a new ProviderRequest 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

NewProviderRequestWithDefaults

func NewProviderRequestWithDefaults() *ProviderRequest

NewProviderRequestWithDefaults instantiates a new ProviderRequest 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

GetName

func (o *ProviderRequest) GetName() string

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

GetNameOk

func (o *ProviderRequest) 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 *ProviderRequest) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *ProviderRequest) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *ProviderRequest) GetSlugOk() (*string, bool)

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

SetSlug

func (o *ProviderRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

GetAccounts

func (o *ProviderRequest) GetAccounts() []int32

GetAccounts returns the Accounts field if non-nil, zero value otherwise.

GetAccountsOk

func (o *ProviderRequest) GetAccountsOk() (*[]int32, bool)

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

SetAccounts

func (o *ProviderRequest) SetAccounts(v []int32)

SetAccounts sets Accounts field to given value.

HasAccounts

func (o *ProviderRequest) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

GetDescription

func (o *ProviderRequest) GetDescription() string

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

GetDescriptionOk

func (o *ProviderRequest) 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 *ProviderRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ProviderRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetComments

func (o *ProviderRequest) GetComments() string

GetComments returns the Comments field if non-nil, zero value otherwise.

GetCommentsOk

func (o *ProviderRequest) GetCommentsOk() (*string, bool)

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

SetComments

func (o *ProviderRequest) SetComments(v string)

SetComments sets Comments field to given value.

HasComments

func (o *ProviderRequest) HasComments() bool

HasComments returns a boolean if a field has been set.

GetAsns

func (o *ProviderRequest) GetAsns() []int32

GetAsns returns the Asns field if non-nil, zero value otherwise.

GetAsnsOk

func (o *ProviderRequest) GetAsnsOk() (*[]int32, bool)

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

SetAsns

func (o *ProviderRequest) SetAsns(v []int32)

SetAsns sets Asns field to given value.

HasAsns

func (o *ProviderRequest) HasAsns() bool

HasAsns returns a boolean if a field has been set.

GetTags

func (o *ProviderRequest) GetTags() []NestedTagRequest

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

GetTagsOk

func (o *ProviderRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ProviderRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *ProviderRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

func (o *ProviderRequest) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *ProviderRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)

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

SetCustomFields

func (o *ProviderRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ProviderRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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