Files
sdk/docs/ComputeJobCancel.md

3.0 KiB

ComputeJobCancel

Properties

Name Type Description Notes
Id Pointer to string ID is the job (activity) id, from the URL path. [optional]
Reason Pointer to string Reason is recorded on the cancellation; empty records "canceled from console". [optional]
Run Pointer to string Run is the run id; empty defaults to the job id, which is what the dispatcher sets (runId == activityId == prompt_id), so the common case sends no body. [optional]

Methods

NewComputeJobCancel

func NewComputeJobCancel() *ComputeJobCancel

NewComputeJobCancel instantiates a new ComputeJobCancel 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

NewComputeJobCancelWithDefaults

func NewComputeJobCancelWithDefaults() *ComputeJobCancel

NewComputeJobCancelWithDefaults instantiates a new ComputeJobCancel 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

GetId

func (o *ComputeJobCancel) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ComputeJobCancel) GetIdOk() (*string, bool)

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

SetId

func (o *ComputeJobCancel) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *ComputeJobCancel) HasId() bool

HasId returns a boolean if a field has been set.

GetReason

func (o *ComputeJobCancel) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

func (o *ComputeJobCancel) GetReasonOk() (*string, bool)

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

SetReason

func (o *ComputeJobCancel) SetReason(v string)

SetReason sets Reason field to given value.

HasReason

func (o *ComputeJobCancel) HasReason() bool

HasReason returns a boolean if a field has been set.

GetRun

func (o *ComputeJobCancel) GetRun() string

GetRun returns the Run field if non-nil, zero value otherwise.

GetRunOk

func (o *ComputeJobCancel) GetRunOk() (*string, bool)

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

SetRun

func (o *ComputeJobCancel) SetRun(v string)

SetRun sets Run field to given value.

HasRun

func (o *ComputeJobCancel) HasRun() bool

HasRun returns a boolean if a field has been set.

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