Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.52 KB

AddComputeInstanceTypeRequest2.md

File metadata and controls

72 lines (39 loc) · 2.52 KB

AddComputeInstanceTypeRequest2

Properties

Name Type Description Notes
CloudProviderName string The cloud provider for this compute instance type config
InstanceType string The instance type for this compute instance type config

Methods

NewAddComputeInstanceTypeRequest2

func NewAddComputeInstanceTypeRequest2(cloudProviderName string, instanceType string, ) *AddComputeInstanceTypeRequest2

NewAddComputeInstanceTypeRequest2 instantiates a new AddComputeInstanceTypeRequest2 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

NewAddComputeInstanceTypeRequest2WithDefaults

func NewAddComputeInstanceTypeRequest2WithDefaults() *AddComputeInstanceTypeRequest2

NewAddComputeInstanceTypeRequest2WithDefaults instantiates a new AddComputeInstanceTypeRequest2 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

GetCloudProviderName

func (o *AddComputeInstanceTypeRequest2) GetCloudProviderName() string

GetCloudProviderName returns the CloudProviderName field if non-nil, zero value otherwise.

GetCloudProviderNameOk

func (o *AddComputeInstanceTypeRequest2) GetCloudProviderNameOk() (*string, bool)

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

SetCloudProviderName

func (o *AddComputeInstanceTypeRequest2) SetCloudProviderName(v string)

SetCloudProviderName sets CloudProviderName field to given value.

GetInstanceType

func (o *AddComputeInstanceTypeRequest2) GetInstanceType() string

GetInstanceType returns the InstanceType field if non-nil, zero value otherwise.

GetInstanceTypeOk

func (o *AddComputeInstanceTypeRequest2) GetInstanceTypeOk() (*string, bool)

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

SetInstanceType

func (o *AddComputeInstanceTypeRequest2) SetInstanceType(v string)

SetInstanceType sets InstanceType field to given value.

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