Name | Type | Description | Notes |
---|---|---|---|
Name | string | The name of the custom image to be created. | |
InstanceId | string | The id of the instance from which the custom image will be created. |
func NewCreateImageOpts(name string, instanceId string, ) *CreateImageOpts
NewCreateImageOpts instantiates a new CreateImageOpts 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
func NewCreateImageOptsWithDefaults() *CreateImageOpts
NewCreateImageOptsWithDefaults instantiates a new CreateImageOpts 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
func (o *CreateImageOpts) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateImageOpts) 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.
func (o *CreateImageOpts) SetName(v string)
SetName sets Name field to given value.
func (o *CreateImageOpts) GetInstanceId() string
GetInstanceId returns the InstanceId field if non-nil, zero value otherwise.
func (o *CreateImageOpts) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateImageOpts) SetInstanceId(v string)
SetInstanceId sets InstanceId field to given value.