Name | Type | Description | Notes |
---|---|---|---|
Command | Pointer to string | [optional] | |
CreatedAt | Pointer to time.Time | [optional] | |
DiskInMb | Pointer to int32 | [optional] | |
DropletGuid | Pointer to string | [optional] | |
Guid | Pointer to string | [optional] | |
Links | Pointer to TaskLinks | [optional] | |
LogRateLimitInBytesPerSecond | Pointer to int32 | [optional] | |
MemoryInMb | Pointer to int32 | [optional] | |
Metadata | Pointer to V3AppsGuidTasksPostRequestMetadata | [optional] | |
Name | Pointer to string | [optional] | |
Relationships | Pointer to V3AppsGuidDropletsCurrentGet200ResponseRelationships | [optional] | |
Result | Pointer to TaskResult | [optional] | |
SequenceId | Pointer to int32 | [optional] | |
State | Pointer to string | [optional] | |
UpdatedAt | Pointer to time.Time | [optional] |
func NewTask() *Task
NewTask instantiates a new Task 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 NewTaskWithDefaults() *Task
NewTaskWithDefaults instantiates a new Task 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 *Task) GetCommand() string
GetCommand returns the Command field if non-nil, zero value otherwise.
func (o *Task) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetCommand(v string)
SetCommand sets Command field to given value.
func (o *Task) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (o *Task) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Task) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Task) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Task) GetDiskInMb() int32
GetDiskInMb returns the DiskInMb field if non-nil, zero value otherwise.
func (o *Task) GetDiskInMbOk() (*int32, bool)
GetDiskInMbOk returns a tuple with the DiskInMb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetDiskInMb(v int32)
SetDiskInMb sets DiskInMb field to given value.
func (o *Task) HasDiskInMb() bool
HasDiskInMb returns a boolean if a field has been set.
func (o *Task) GetDropletGuid() string
GetDropletGuid returns the DropletGuid field if non-nil, zero value otherwise.
func (o *Task) GetDropletGuidOk() (*string, bool)
GetDropletGuidOk returns a tuple with the DropletGuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetDropletGuid(v string)
SetDropletGuid sets DropletGuid field to given value.
func (o *Task) HasDropletGuid() bool
HasDropletGuid returns a boolean if a field has been set.
func (o *Task) GetGuid() string
GetGuid returns the Guid field if non-nil, zero value otherwise.
func (o *Task) GetGuidOk() (*string, bool)
GetGuidOk returns a tuple with the Guid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetGuid(v string)
SetGuid sets Guid field to given value.
func (o *Task) HasGuid() bool
HasGuid returns a boolean if a field has been set.
func (o *Task) GetLinks() TaskLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *Task) GetLinksOk() (*TaskLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetLinks(v TaskLinks)
SetLinks sets Links field to given value.
func (o *Task) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (o *Task) GetLogRateLimitInBytesPerSecond() int32
GetLogRateLimitInBytesPerSecond returns the LogRateLimitInBytesPerSecond field if non-nil, zero value otherwise.
func (o *Task) GetLogRateLimitInBytesPerSecondOk() (*int32, bool)
GetLogRateLimitInBytesPerSecondOk returns a tuple with the LogRateLimitInBytesPerSecond field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetLogRateLimitInBytesPerSecond(v int32)
SetLogRateLimitInBytesPerSecond sets LogRateLimitInBytesPerSecond field to given value.
func (o *Task) HasLogRateLimitInBytesPerSecond() bool
HasLogRateLimitInBytesPerSecond returns a boolean if a field has been set.
func (o *Task) GetMemoryInMb() int32
GetMemoryInMb returns the MemoryInMb field if non-nil, zero value otherwise.
func (o *Task) GetMemoryInMbOk() (*int32, bool)
GetMemoryInMbOk returns a tuple with the MemoryInMb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetMemoryInMb(v int32)
SetMemoryInMb sets MemoryInMb field to given value.
func (o *Task) HasMemoryInMb() bool
HasMemoryInMb returns a boolean if a field has been set.
func (o *Task) GetMetadata() V3AppsGuidTasksPostRequestMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Task) GetMetadataOk() (*V3AppsGuidTasksPostRequestMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetMetadata(v V3AppsGuidTasksPostRequestMetadata)
SetMetadata sets Metadata field to given value.
func (o *Task) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Task) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Task) 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 *Task) SetName(v string)
SetName sets Name field to given value.
func (o *Task) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Task) GetRelationships() V3AppsGuidDropletsCurrentGet200ResponseRelationships
GetRelationships returns the Relationships field if non-nil, zero value otherwise.
func (o *Task) GetRelationshipsOk() (*V3AppsGuidDropletsCurrentGet200ResponseRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetRelationships(v V3AppsGuidDropletsCurrentGet200ResponseRelationships)
SetRelationships sets Relationships field to given value.
func (o *Task) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (o *Task) GetResult() TaskResult
GetResult returns the Result field if non-nil, zero value otherwise.
func (o *Task) GetResultOk() (*TaskResult, bool)
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetResult(v TaskResult)
SetResult sets Result field to given value.
func (o *Task) HasResult() bool
HasResult returns a boolean if a field has been set.
func (o *Task) GetSequenceId() int32
GetSequenceId returns the SequenceId field if non-nil, zero value otherwise.
func (o *Task) GetSequenceIdOk() (*int32, bool)
GetSequenceIdOk returns a tuple with the SequenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetSequenceId(v int32)
SetSequenceId sets SequenceId field to given value.
func (o *Task) HasSequenceId() bool
HasSequenceId returns a boolean if a field has been set.
func (o *Task) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Task) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetState(v string)
SetState sets State field to given value.
func (o *Task) HasState() bool
HasState returns a boolean if a field has been set.
func (o *Task) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Task) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Task) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Task) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.