Name | Type | Description | Notes |
---|---|---|---|
Assignments | []PostAssignIpsRequestAssignmentsInner | The list of assignments to make. You must have read_write access to all IPs being assigned and all Linodes being assigned to in order for the assignments to succeed. | |
Region | string | The ID of the Region in which these assignments are to take place. All IPs and Linodes must exist in this Region. |
func NewPostAssignIpsRequest(assignments []PostAssignIpsRequestAssignmentsInner, region string, ) *PostAssignIpsRequest
NewPostAssignIpsRequest instantiates a new PostAssignIpsRequest 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 NewPostAssignIpsRequestWithDefaults() *PostAssignIpsRequest
NewPostAssignIpsRequestWithDefaults instantiates a new PostAssignIpsRequest 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 *PostAssignIpsRequest) GetAssignments() []PostAssignIpsRequestAssignmentsInner
GetAssignments returns the Assignments field if non-nil, zero value otherwise.
func (o *PostAssignIpsRequest) GetAssignmentsOk() (*[]PostAssignIpsRequestAssignmentsInner, bool)
GetAssignmentsOk returns a tuple with the Assignments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAssignIpsRequest) SetAssignments(v []PostAssignIpsRequestAssignmentsInner)
SetAssignments sets Assignments field to given value.
func (o *PostAssignIpsRequest) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *PostAssignIpsRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAssignIpsRequest) SetRegion(v string)
SetRegion sets Region field to given value.