Documentation ¶
Index ¶
- type Client
- func (a *Client) JobAdd(params *JobAddParams) (*JobAddCreated, error)
- func (a *Client) JobDelete(params *JobDeleteParams) (*JobDeleteAccepted, error)
- func (a *Client) JobDisable(params *JobDisableParams) (*JobDisableAccepted, error)
- func (a *Client) JobEnable(params *JobEnableParams) (*JobEnableAccepted, error)
- func (a *Client) JobGet(params *JobGetParams) (*JobGetOK, error)
- func (a *Client) JobGetAllJobsLifetimeStatistics(params *JobGetAllJobsLifetimeStatisticsParams) (*JobGetAllJobsLifetimeStatisticsOK, error)
- func (a *Client) JobList(params *JobListParams) (*JobListOK, error)
- func (a *Client) JobListFromJobSchedule(params *JobListFromJobScheduleParams) (*JobListFromJobScheduleOK, error)
- func (a *Client) JobListPreparationAndReleaseTaskStatus(params *JobListPreparationAndReleaseTaskStatusParams) (*JobListPreparationAndReleaseTaskStatusOK, error)
- func (a *Client) JobPatch(params *JobPatchParams) (*JobPatchOK, error)
- func (a *Client) JobTerminate(params *JobTerminateParams) (*JobTerminateAccepted, error)
- func (a *Client) JobUpdate(params *JobUpdateParams) (*JobUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type JobAddCreated
- type JobAddDefault
- type JobAddParams
- func (o *JobAddParams) SetAPIVersion(aPIVersion string)
- func (o *JobAddParams) SetClientRequestID(clientRequestID *string)
- func (o *JobAddParams) SetContext(ctx context.Context)
- func (o *JobAddParams) SetJob(job *models.JobAddParameter)
- func (o *JobAddParams) SetOcpDate(ocpDate *string)
- func (o *JobAddParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobAddParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobAddParams) SetTimeout(timeout *int32)
- func (o *JobAddParams) WithAPIVersion(aPIVersion string) *JobAddParams
- func (o *JobAddParams) WithClientRequestID(clientRequestID *string) *JobAddParams
- func (o *JobAddParams) WithContext(ctx context.Context) *JobAddParams
- func (o *JobAddParams) WithJob(job *models.JobAddParameter) *JobAddParams
- func (o *JobAddParams) WithOcpDate(ocpDate *string) *JobAddParams
- func (o *JobAddParams) WithRequestTimeout(timeout time.Duration) *JobAddParams
- func (o *JobAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobAddParams
- func (o *JobAddParams) WithTimeout(timeout *int32) *JobAddParams
- func (o *JobAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobAddReader
- type JobDeleteAccepted
- type JobDeleteDefault
- type JobDeleteParams
- func (o *JobDeleteParams) SetAPIVersion(aPIVersion string)
- func (o *JobDeleteParams) SetClientRequestID(clientRequestID *string)
- func (o *JobDeleteParams) SetContext(ctx context.Context)
- func (o *JobDeleteParams) SetIfMatch(ifMatch *string)
- func (o *JobDeleteParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobDeleteParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobDeleteParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobDeleteParams) SetJobID(jobID string)
- func (o *JobDeleteParams) SetOcpDate(ocpDate *string)
- func (o *JobDeleteParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobDeleteParams) SetTimeout(timeout *int32)
- func (o *JobDeleteParams) WithAPIVersion(aPIVersion string) *JobDeleteParams
- func (o *JobDeleteParams) WithClientRequestID(clientRequestID *string) *JobDeleteParams
- func (o *JobDeleteParams) WithContext(ctx context.Context) *JobDeleteParams
- func (o *JobDeleteParams) WithIfMatch(ifMatch *string) *JobDeleteParams
- func (o *JobDeleteParams) WithIfModifiedSince(ifModifiedSince *string) *JobDeleteParams
- func (o *JobDeleteParams) WithIfNoneMatch(ifNoneMatch *string) *JobDeleteParams
- func (o *JobDeleteParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobDeleteParams
- func (o *JobDeleteParams) WithJobID(jobID string) *JobDeleteParams
- func (o *JobDeleteParams) WithOcpDate(ocpDate *string) *JobDeleteParams
- func (o *JobDeleteParams) WithRequestTimeout(timeout time.Duration) *JobDeleteParams
- func (o *JobDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobDeleteParams
- func (o *JobDeleteParams) WithTimeout(timeout *int32) *JobDeleteParams
- func (o *JobDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobDeleteReader
- type JobDisableAccepted
- type JobDisableDefault
- type JobDisableParams
- func (o *JobDisableParams) SetAPIVersion(aPIVersion string)
- func (o *JobDisableParams) SetClientRequestID(clientRequestID *string)
- func (o *JobDisableParams) SetContext(ctx context.Context)
- func (o *JobDisableParams) SetIfMatch(ifMatch *string)
- func (o *JobDisableParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobDisableParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobDisableParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobDisableParams) SetJobDisableParameter(jobDisableParameter *models.JobDisableParameter)
- func (o *JobDisableParams) SetJobID(jobID string)
- func (o *JobDisableParams) SetOcpDate(ocpDate *string)
- func (o *JobDisableParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobDisableParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobDisableParams) SetTimeout(timeout *int32)
- func (o *JobDisableParams) WithAPIVersion(aPIVersion string) *JobDisableParams
- func (o *JobDisableParams) WithClientRequestID(clientRequestID *string) *JobDisableParams
- func (o *JobDisableParams) WithContext(ctx context.Context) *JobDisableParams
- func (o *JobDisableParams) WithIfMatch(ifMatch *string) *JobDisableParams
- func (o *JobDisableParams) WithIfModifiedSince(ifModifiedSince *string) *JobDisableParams
- func (o *JobDisableParams) WithIfNoneMatch(ifNoneMatch *string) *JobDisableParams
- func (o *JobDisableParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobDisableParams
- func (o *JobDisableParams) WithJobDisableParameter(jobDisableParameter *models.JobDisableParameter) *JobDisableParams
- func (o *JobDisableParams) WithJobID(jobID string) *JobDisableParams
- func (o *JobDisableParams) WithOcpDate(ocpDate *string) *JobDisableParams
- func (o *JobDisableParams) WithRequestTimeout(timeout time.Duration) *JobDisableParams
- func (o *JobDisableParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobDisableParams
- func (o *JobDisableParams) WithTimeout(timeout *int32) *JobDisableParams
- func (o *JobDisableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobDisableReader
- type JobEnableAccepted
- type JobEnableDefault
- type JobEnableParams
- func (o *JobEnableParams) SetAPIVersion(aPIVersion string)
- func (o *JobEnableParams) SetClientRequestID(clientRequestID *string)
- func (o *JobEnableParams) SetContext(ctx context.Context)
- func (o *JobEnableParams) SetIfMatch(ifMatch *string)
- func (o *JobEnableParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobEnableParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobEnableParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobEnableParams) SetJobID(jobID string)
- func (o *JobEnableParams) SetOcpDate(ocpDate *string)
- func (o *JobEnableParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobEnableParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobEnableParams) SetTimeout(timeout *int32)
- func (o *JobEnableParams) WithAPIVersion(aPIVersion string) *JobEnableParams
- func (o *JobEnableParams) WithClientRequestID(clientRequestID *string) *JobEnableParams
- func (o *JobEnableParams) WithContext(ctx context.Context) *JobEnableParams
- func (o *JobEnableParams) WithIfMatch(ifMatch *string) *JobEnableParams
- func (o *JobEnableParams) WithIfModifiedSince(ifModifiedSince *string) *JobEnableParams
- func (o *JobEnableParams) WithIfNoneMatch(ifNoneMatch *string) *JobEnableParams
- func (o *JobEnableParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobEnableParams
- func (o *JobEnableParams) WithJobID(jobID string) *JobEnableParams
- func (o *JobEnableParams) WithOcpDate(ocpDate *string) *JobEnableParams
- func (o *JobEnableParams) WithRequestTimeout(timeout time.Duration) *JobEnableParams
- func (o *JobEnableParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobEnableParams
- func (o *JobEnableParams) WithTimeout(timeout *int32) *JobEnableParams
- func (o *JobEnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobEnableReader
- type JobGetAllJobsLifetimeStatisticsDefault
- type JobGetAllJobsLifetimeStatisticsOK
- type JobGetAllJobsLifetimeStatisticsParams
- func NewJobGetAllJobsLifetimeStatisticsParams() *JobGetAllJobsLifetimeStatisticsParams
- func NewJobGetAllJobsLifetimeStatisticsParamsWithContext(ctx context.Context) *JobGetAllJobsLifetimeStatisticsParams
- func NewJobGetAllJobsLifetimeStatisticsParamsWithTimeout(timeout time.Duration) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetAPIVersion(aPIVersion string)
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetClientRequestID(clientRequestID *string)
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetContext(ctx context.Context)
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetOcpDate(ocpDate *string)
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobGetAllJobsLifetimeStatisticsParams) SetTimeout(timeout *int32)
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithAPIVersion(aPIVersion string) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithClientRequestID(clientRequestID *string) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithContext(ctx context.Context) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithOcpDate(ocpDate *string) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithRequestTimeout(timeout time.Duration) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WithTimeout(timeout *int32) *JobGetAllJobsLifetimeStatisticsParams
- func (o *JobGetAllJobsLifetimeStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobGetAllJobsLifetimeStatisticsReader
- type JobGetDefault
- type JobGetOK
- type JobGetParams
- func (o *JobGetParams) SetAPIVersion(aPIVersion string)
- func (o *JobGetParams) SetClientRequestID(clientRequestID *string)
- func (o *JobGetParams) SetContext(ctx context.Context)
- func (o *JobGetParams) SetDollarExpand(dollarExpand *string)
- func (o *JobGetParams) SetDollarSelect(dollarSelect *string)
- func (o *JobGetParams) SetIfMatch(ifMatch *string)
- func (o *JobGetParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobGetParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobGetParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobGetParams) SetJobID(jobID string)
- func (o *JobGetParams) SetOcpDate(ocpDate *string)
- func (o *JobGetParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobGetParams) SetTimeout(timeout *int32)
- func (o *JobGetParams) WithAPIVersion(aPIVersion string) *JobGetParams
- func (o *JobGetParams) WithClientRequestID(clientRequestID *string) *JobGetParams
- func (o *JobGetParams) WithContext(ctx context.Context) *JobGetParams
- func (o *JobGetParams) WithDollarExpand(dollarExpand *string) *JobGetParams
- func (o *JobGetParams) WithDollarSelect(dollarSelect *string) *JobGetParams
- func (o *JobGetParams) WithIfMatch(ifMatch *string) *JobGetParams
- func (o *JobGetParams) WithIfModifiedSince(ifModifiedSince *string) *JobGetParams
- func (o *JobGetParams) WithIfNoneMatch(ifNoneMatch *string) *JobGetParams
- func (o *JobGetParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobGetParams
- func (o *JobGetParams) WithJobID(jobID string) *JobGetParams
- func (o *JobGetParams) WithOcpDate(ocpDate *string) *JobGetParams
- func (o *JobGetParams) WithRequestTimeout(timeout time.Duration) *JobGetParams
- func (o *JobGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobGetParams
- func (o *JobGetParams) WithTimeout(timeout *int32) *JobGetParams
- func (o *JobGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobGetReader
- type JobListDefault
- type JobListFromJobScheduleDefault
- type JobListFromJobScheduleOK
- type JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) SetAPIVersion(aPIVersion string)
- func (o *JobListFromJobScheduleParams) SetClientRequestID(clientRequestID *string)
- func (o *JobListFromJobScheduleParams) SetContext(ctx context.Context)
- func (o *JobListFromJobScheduleParams) SetDollarExpand(dollarExpand *string)
- func (o *JobListFromJobScheduleParams) SetDollarFilter(dollarFilter *string)
- func (o *JobListFromJobScheduleParams) SetDollarSelect(dollarSelect *string)
- func (o *JobListFromJobScheduleParams) SetJobScheduleID(jobScheduleID string)
- func (o *JobListFromJobScheduleParams) SetMaxresults(maxresults *int32)
- func (o *JobListFromJobScheduleParams) SetOcpDate(ocpDate *string)
- func (o *JobListFromJobScheduleParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobListFromJobScheduleParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobListFromJobScheduleParams) SetTimeout(timeout *int32)
- func (o *JobListFromJobScheduleParams) WithAPIVersion(aPIVersion string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithClientRequestID(clientRequestID *string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithContext(ctx context.Context) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithDollarExpand(dollarExpand *string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithDollarFilter(dollarFilter *string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithDollarSelect(dollarSelect *string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithJobScheduleID(jobScheduleID string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithMaxresults(maxresults *int32) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithOcpDate(ocpDate *string) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithRequestTimeout(timeout time.Duration) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WithTimeout(timeout *int32) *JobListFromJobScheduleParams
- func (o *JobListFromJobScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobListFromJobScheduleReader
- type JobListOK
- type JobListParams
- func (o *JobListParams) SetAPIVersion(aPIVersion string)
- func (o *JobListParams) SetClientRequestID(clientRequestID *string)
- func (o *JobListParams) SetContext(ctx context.Context)
- func (o *JobListParams) SetDollarExpand(dollarExpand *string)
- func (o *JobListParams) SetDollarFilter(dollarFilter *string)
- func (o *JobListParams) SetDollarSelect(dollarSelect *string)
- func (o *JobListParams) SetMaxresults(maxresults *int32)
- func (o *JobListParams) SetOcpDate(ocpDate *string)
- func (o *JobListParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobListParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobListParams) SetTimeout(timeout *int32)
- func (o *JobListParams) WithAPIVersion(aPIVersion string) *JobListParams
- func (o *JobListParams) WithClientRequestID(clientRequestID *string) *JobListParams
- func (o *JobListParams) WithContext(ctx context.Context) *JobListParams
- func (o *JobListParams) WithDollarExpand(dollarExpand *string) *JobListParams
- func (o *JobListParams) WithDollarFilter(dollarFilter *string) *JobListParams
- func (o *JobListParams) WithDollarSelect(dollarSelect *string) *JobListParams
- func (o *JobListParams) WithMaxresults(maxresults *int32) *JobListParams
- func (o *JobListParams) WithOcpDate(ocpDate *string) *JobListParams
- func (o *JobListParams) WithRequestTimeout(timeout time.Duration) *JobListParams
- func (o *JobListParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobListParams
- func (o *JobListParams) WithTimeout(timeout *int32) *JobListParams
- func (o *JobListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobListPreparationAndReleaseTaskStatusDefault
- type JobListPreparationAndReleaseTaskStatusOK
- type JobListPreparationAndReleaseTaskStatusParams
- func NewJobListPreparationAndReleaseTaskStatusParams() *JobListPreparationAndReleaseTaskStatusParams
- func NewJobListPreparationAndReleaseTaskStatusParamsWithContext(ctx context.Context) *JobListPreparationAndReleaseTaskStatusParams
- func NewJobListPreparationAndReleaseTaskStatusParamsWithTimeout(timeout time.Duration) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetAPIVersion(aPIVersion string)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetClientRequestID(clientRequestID *string)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetContext(ctx context.Context)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetDollarFilter(dollarFilter *string)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetDollarSelect(dollarSelect *string)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetJobID(jobID string)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetMaxresults(maxresults *int32)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetOcpDate(ocpDate *string)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobListPreparationAndReleaseTaskStatusParams) SetTimeout(timeout *int32)
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithAPIVersion(aPIVersion string) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithClientRequestID(clientRequestID *string) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithContext(ctx context.Context) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithDollarFilter(dollarFilter *string) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithDollarSelect(dollarSelect *string) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithJobID(jobID string) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithMaxresults(maxresults *int32) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithOcpDate(ocpDate *string) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithRequestTimeout(timeout time.Duration) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WithTimeout(timeout *int32) *JobListPreparationAndReleaseTaskStatusParams
- func (o *JobListPreparationAndReleaseTaskStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobListPreparationAndReleaseTaskStatusReader
- type JobListReader
- type JobPatchDefault
- type JobPatchOK
- type JobPatchParams
- func (o *JobPatchParams) SetAPIVersion(aPIVersion string)
- func (o *JobPatchParams) SetClientRequestID(clientRequestID *string)
- func (o *JobPatchParams) SetContext(ctx context.Context)
- func (o *JobPatchParams) SetIfMatch(ifMatch *string)
- func (o *JobPatchParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobPatchParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobPatchParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobPatchParams) SetJobID(jobID string)
- func (o *JobPatchParams) SetJobPatchParameter(jobPatchParameter *models.JobPatchParameter)
- func (o *JobPatchParams) SetOcpDate(ocpDate *string)
- func (o *JobPatchParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobPatchParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobPatchParams) SetTimeout(timeout *int32)
- func (o *JobPatchParams) WithAPIVersion(aPIVersion string) *JobPatchParams
- func (o *JobPatchParams) WithClientRequestID(clientRequestID *string) *JobPatchParams
- func (o *JobPatchParams) WithContext(ctx context.Context) *JobPatchParams
- func (o *JobPatchParams) WithIfMatch(ifMatch *string) *JobPatchParams
- func (o *JobPatchParams) WithIfModifiedSince(ifModifiedSince *string) *JobPatchParams
- func (o *JobPatchParams) WithIfNoneMatch(ifNoneMatch *string) *JobPatchParams
- func (o *JobPatchParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobPatchParams
- func (o *JobPatchParams) WithJobID(jobID string) *JobPatchParams
- func (o *JobPatchParams) WithJobPatchParameter(jobPatchParameter *models.JobPatchParameter) *JobPatchParams
- func (o *JobPatchParams) WithOcpDate(ocpDate *string) *JobPatchParams
- func (o *JobPatchParams) WithRequestTimeout(timeout time.Duration) *JobPatchParams
- func (o *JobPatchParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobPatchParams
- func (o *JobPatchParams) WithTimeout(timeout *int32) *JobPatchParams
- func (o *JobPatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobPatchReader
- type JobTerminateAccepted
- type JobTerminateDefault
- type JobTerminateParams
- func (o *JobTerminateParams) SetAPIVersion(aPIVersion string)
- func (o *JobTerminateParams) SetClientRequestID(clientRequestID *string)
- func (o *JobTerminateParams) SetContext(ctx context.Context)
- func (o *JobTerminateParams) SetIfMatch(ifMatch *string)
- func (o *JobTerminateParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobTerminateParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobTerminateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobTerminateParams) SetJobID(jobID string)
- func (o *JobTerminateParams) SetJobTerminateParameter(jobTerminateParameter *models.JobTerminateParameter)
- func (o *JobTerminateParams) SetOcpDate(ocpDate *string)
- func (o *JobTerminateParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobTerminateParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobTerminateParams) SetTimeout(timeout *int32)
- func (o *JobTerminateParams) WithAPIVersion(aPIVersion string) *JobTerminateParams
- func (o *JobTerminateParams) WithClientRequestID(clientRequestID *string) *JobTerminateParams
- func (o *JobTerminateParams) WithContext(ctx context.Context) *JobTerminateParams
- func (o *JobTerminateParams) WithIfMatch(ifMatch *string) *JobTerminateParams
- func (o *JobTerminateParams) WithIfModifiedSince(ifModifiedSince *string) *JobTerminateParams
- func (o *JobTerminateParams) WithIfNoneMatch(ifNoneMatch *string) *JobTerminateParams
- func (o *JobTerminateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobTerminateParams
- func (o *JobTerminateParams) WithJobID(jobID string) *JobTerminateParams
- func (o *JobTerminateParams) WithJobTerminateParameter(jobTerminateParameter *models.JobTerminateParameter) *JobTerminateParams
- func (o *JobTerminateParams) WithOcpDate(ocpDate *string) *JobTerminateParams
- func (o *JobTerminateParams) WithRequestTimeout(timeout time.Duration) *JobTerminateParams
- func (o *JobTerminateParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobTerminateParams
- func (o *JobTerminateParams) WithTimeout(timeout *int32) *JobTerminateParams
- func (o *JobTerminateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobTerminateReader
- type JobUpdateDefault
- type JobUpdateOK
- type JobUpdateParams
- func (o *JobUpdateParams) SetAPIVersion(aPIVersion string)
- func (o *JobUpdateParams) SetClientRequestID(clientRequestID *string)
- func (o *JobUpdateParams) SetContext(ctx context.Context)
- func (o *JobUpdateParams) SetIfMatch(ifMatch *string)
- func (o *JobUpdateParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *JobUpdateParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *JobUpdateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *JobUpdateParams) SetJobID(jobID string)
- func (o *JobUpdateParams) SetJobUpdateParameter(jobUpdateParameter *models.JobUpdateParameter)
- func (o *JobUpdateParams) SetOcpDate(ocpDate *string)
- func (o *JobUpdateParams) SetRequestTimeout(timeout time.Duration)
- func (o *JobUpdateParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *JobUpdateParams) SetTimeout(timeout *int32)
- func (o *JobUpdateParams) WithAPIVersion(aPIVersion string) *JobUpdateParams
- func (o *JobUpdateParams) WithClientRequestID(clientRequestID *string) *JobUpdateParams
- func (o *JobUpdateParams) WithContext(ctx context.Context) *JobUpdateParams
- func (o *JobUpdateParams) WithIfMatch(ifMatch *string) *JobUpdateParams
- func (o *JobUpdateParams) WithIfModifiedSince(ifModifiedSince *string) *JobUpdateParams
- func (o *JobUpdateParams) WithIfNoneMatch(ifNoneMatch *string) *JobUpdateParams
- func (o *JobUpdateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobUpdateParams
- func (o *JobUpdateParams) WithJobID(jobID string) *JobUpdateParams
- func (o *JobUpdateParams) WithJobUpdateParameter(jobUpdateParameter *models.JobUpdateParameter) *JobUpdateParams
- func (o *JobUpdateParams) WithOcpDate(ocpDate *string) *JobUpdateParams
- func (o *JobUpdateParams) WithRequestTimeout(timeout time.Duration) *JobUpdateParams
- func (o *JobUpdateParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobUpdateParams
- func (o *JobUpdateParams) WithTimeout(timeout *int32) *JobUpdateParams
- func (o *JobUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobUpdateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for jobs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new jobs API client.
func (*Client) JobAdd ¶
func (a *Client) JobAdd(params *JobAddParams) (*JobAddCreated, error)
JobAdd adds a job to the specified account
The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.
func (*Client) JobDelete ¶
func (a *Client) JobDelete(params *JobDeleteParams) (*JobDeleteAccepted, error)
JobDelete deletes a job
Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents.
func (*Client) JobDisable ¶
func (a *Client) JobDisable(params *JobDisableParams) (*JobDisableAccepted, error)
JobDisable disables the specified job preventing new tasks from running
The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.
func (*Client) JobEnable ¶
func (a *Client) JobEnable(params *JobEnableParams) (*JobEnableAccepted, error)
JobEnable enables the specified job allowing new tasks to run
When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.
func (*Client) JobGet ¶
func (a *Client) JobGet(params *JobGetParams) (*JobGetOK, error)
JobGet gets information about the specified job
func (*Client) JobGetAllJobsLifetimeStatistics ¶
func (a *Client) JobGetAllJobsLifetimeStatistics(params *JobGetAllJobsLifetimeStatisticsParams) (*JobGetAllJobsLifetimeStatisticsOK, error)
JobGetAllJobsLifetimeStatistics gets lifetime summary statistics for all of the jobs in the specified account
Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.
func (*Client) JobList ¶
func (a *Client) JobList(params *JobListParams) (*JobListOK, error)
JobList lists all of the jobs in the specified account
func (*Client) JobListFromJobSchedule ¶
func (a *Client) JobListFromJobSchedule(params *JobListFromJobScheduleParams) (*JobListFromJobScheduleOK, error)
JobListFromJobSchedule lists the jobs that have been created under the specified job schedule
func (*Client) JobListPreparationAndReleaseTaskStatus ¶
func (a *Client) JobListPreparationAndReleaseTaskStatus(params *JobListPreparationAndReleaseTaskStatusParams) (*JobListPreparationAndReleaseTaskStatusOK, error)
JobListPreparationAndReleaseTaskStatus lists the execution status of the job preparation and job release task for the specified job across the compute nodes where the job has run
This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool.
func (*Client) JobPatch ¶
func (a *Client) JobPatch(params *JobPatchParams) (*JobPatchOK, error)
JobPatch updates the properties of the specified job
This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.
func (*Client) JobTerminate ¶
func (a *Client) JobTerminate(params *JobTerminateParams) (*JobTerminateAccepted, error)
JobTerminate terminates the specified job marking it as completed
When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.
func (*Client) JobUpdate ¶
func (a *Client) JobUpdate(params *JobUpdateParams) (*JobUpdateOK, error)
JobUpdate updates the properties of the specified job
This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type JobAddCreated ¶
type JobAddCreated struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobAddCreated handles this case with default header values.
The request to the Batch service was successful.
func NewJobAddCreated ¶
func NewJobAddCreated() *JobAddCreated
NewJobAddCreated creates a JobAddCreated with default headers values
func (*JobAddCreated) Error ¶
func (o *JobAddCreated) Error() string
type JobAddDefault ¶
type JobAddDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobAddDefault handles this case with default header values.
The error from the Batch service.
func NewJobAddDefault ¶
func NewJobAddDefault(code int) *JobAddDefault
NewJobAddDefault creates a JobAddDefault with default headers values
func (*JobAddDefault) Code ¶
func (o *JobAddDefault) Code() int
Code gets the status code for the job add default response
func (*JobAddDefault) Error ¶
func (o *JobAddDefault) Error() string
type JobAddParams ¶
type JobAddParams struct { /*Job The job to be added. */ Job *models.JobAddParameter /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobAddParams contains all the parameters to send to the API endpoint for the job add operation typically these are written to a http.Request
func NewJobAddParams ¶
func NewJobAddParams() *JobAddParams
NewJobAddParams creates a new JobAddParams object with the default values initialized.
func NewJobAddParamsWithContext ¶
func NewJobAddParamsWithContext(ctx context.Context) *JobAddParams
NewJobAddParamsWithContext creates a new JobAddParams object with the default values initialized, and the ability to set a context for a request
func NewJobAddParamsWithTimeout ¶
func NewJobAddParamsWithTimeout(timeout time.Duration) *JobAddParams
NewJobAddParamsWithTimeout creates a new JobAddParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobAddParams) SetAPIVersion ¶
func (o *JobAddParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job add params
func (*JobAddParams) SetClientRequestID ¶
func (o *JobAddParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job add params
func (*JobAddParams) SetContext ¶
func (o *JobAddParams) SetContext(ctx context.Context)
SetContext adds the context to the job add params
func (*JobAddParams) SetJob ¶
func (o *JobAddParams) SetJob(job *models.JobAddParameter)
SetJob adds the job to the job add params
func (*JobAddParams) SetOcpDate ¶
func (o *JobAddParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job add params
func (*JobAddParams) SetRequestTimeout ¶
func (o *JobAddParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job add params
func (*JobAddParams) SetReturnClientRequestID ¶
func (o *JobAddParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job add params
func (*JobAddParams) SetTimeout ¶
func (o *JobAddParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job add params
func (*JobAddParams) WithAPIVersion ¶
func (o *JobAddParams) WithAPIVersion(aPIVersion string) *JobAddParams
WithAPIVersion adds the aPIVersion to the job add params
func (*JobAddParams) WithClientRequestID ¶
func (o *JobAddParams) WithClientRequestID(clientRequestID *string) *JobAddParams
WithClientRequestID adds the clientRequestID to the job add params
func (*JobAddParams) WithContext ¶
func (o *JobAddParams) WithContext(ctx context.Context) *JobAddParams
WithContext adds the context to the job add params
func (*JobAddParams) WithJob ¶
func (o *JobAddParams) WithJob(job *models.JobAddParameter) *JobAddParams
WithJob adds the job to the job add params
func (*JobAddParams) WithOcpDate ¶
func (o *JobAddParams) WithOcpDate(ocpDate *string) *JobAddParams
WithOcpDate adds the ocpDate to the job add params
func (*JobAddParams) WithRequestTimeout ¶
func (o *JobAddParams) WithRequestTimeout(timeout time.Duration) *JobAddParams
WithRequestTimeout adds the timeout to the job add params
func (*JobAddParams) WithReturnClientRequestID ¶
func (o *JobAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobAddParams
WithReturnClientRequestID adds the returnClientRequestID to the job add params
func (*JobAddParams) WithTimeout ¶
func (o *JobAddParams) WithTimeout(timeout *int32) *JobAddParams
WithTimeout adds the timeout to the job add params
func (*JobAddParams) WriteToRequest ¶
func (o *JobAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobAddReader ¶
type JobAddReader struct {
// contains filtered or unexported fields
}
JobAddReader is a Reader for the JobAdd structure.
func (*JobAddReader) ReadResponse ¶
func (o *JobAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobDeleteAccepted ¶
type JobDeleteAccepted struct { /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobDeleteAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewJobDeleteAccepted ¶
func NewJobDeleteAccepted() *JobDeleteAccepted
NewJobDeleteAccepted creates a JobDeleteAccepted with default headers values
func (*JobDeleteAccepted) Error ¶
func (o *JobDeleteAccepted) Error() string
type JobDeleteDefault ¶
type JobDeleteDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobDeleteDefault handles this case with default header values.
The error from the Batch service.
func NewJobDeleteDefault ¶
func NewJobDeleteDefault(code int) *JobDeleteDefault
NewJobDeleteDefault creates a JobDeleteDefault with default headers values
func (*JobDeleteDefault) Code ¶
func (o *JobDeleteDefault) Code() int
Code gets the status code for the job delete default response
func (*JobDeleteDefault) Error ¶
func (o *JobDeleteDefault) Error() string
type JobDeleteParams ¶
type JobDeleteParams struct { /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job to delete. */ JobID string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobDeleteParams contains all the parameters to send to the API endpoint for the job delete operation typically these are written to a http.Request
func NewJobDeleteParams ¶
func NewJobDeleteParams() *JobDeleteParams
NewJobDeleteParams creates a new JobDeleteParams object with the default values initialized.
func NewJobDeleteParamsWithContext ¶
func NewJobDeleteParamsWithContext(ctx context.Context) *JobDeleteParams
NewJobDeleteParamsWithContext creates a new JobDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewJobDeleteParamsWithTimeout ¶
func NewJobDeleteParamsWithTimeout(timeout time.Duration) *JobDeleteParams
NewJobDeleteParamsWithTimeout creates a new JobDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobDeleteParams) SetAPIVersion ¶
func (o *JobDeleteParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job delete params
func (*JobDeleteParams) SetClientRequestID ¶
func (o *JobDeleteParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job delete params
func (*JobDeleteParams) SetContext ¶
func (o *JobDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the job delete params
func (*JobDeleteParams) SetIfMatch ¶
func (o *JobDeleteParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job delete params
func (*JobDeleteParams) SetIfModifiedSince ¶
func (o *JobDeleteParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job delete params
func (*JobDeleteParams) SetIfNoneMatch ¶
func (o *JobDeleteParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job delete params
func (*JobDeleteParams) SetIfUnmodifiedSince ¶
func (o *JobDeleteParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job delete params
func (*JobDeleteParams) SetJobID ¶
func (o *JobDeleteParams) SetJobID(jobID string)
SetJobID adds the jobId to the job delete params
func (*JobDeleteParams) SetOcpDate ¶
func (o *JobDeleteParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job delete params
func (*JobDeleteParams) SetRequestTimeout ¶
func (o *JobDeleteParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job delete params
func (*JobDeleteParams) SetReturnClientRequestID ¶
func (o *JobDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job delete params
func (*JobDeleteParams) SetTimeout ¶
func (o *JobDeleteParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job delete params
func (*JobDeleteParams) WithAPIVersion ¶
func (o *JobDeleteParams) WithAPIVersion(aPIVersion string) *JobDeleteParams
WithAPIVersion adds the aPIVersion to the job delete params
func (*JobDeleteParams) WithClientRequestID ¶
func (o *JobDeleteParams) WithClientRequestID(clientRequestID *string) *JobDeleteParams
WithClientRequestID adds the clientRequestID to the job delete params
func (*JobDeleteParams) WithContext ¶
func (o *JobDeleteParams) WithContext(ctx context.Context) *JobDeleteParams
WithContext adds the context to the job delete params
func (*JobDeleteParams) WithIfMatch ¶
func (o *JobDeleteParams) WithIfMatch(ifMatch *string) *JobDeleteParams
WithIfMatch adds the ifMatch to the job delete params
func (*JobDeleteParams) WithIfModifiedSince ¶
func (o *JobDeleteParams) WithIfModifiedSince(ifModifiedSince *string) *JobDeleteParams
WithIfModifiedSince adds the ifModifiedSince to the job delete params
func (*JobDeleteParams) WithIfNoneMatch ¶
func (o *JobDeleteParams) WithIfNoneMatch(ifNoneMatch *string) *JobDeleteParams
WithIfNoneMatch adds the ifNoneMatch to the job delete params
func (*JobDeleteParams) WithIfUnmodifiedSince ¶
func (o *JobDeleteParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobDeleteParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job delete params
func (*JobDeleteParams) WithJobID ¶
func (o *JobDeleteParams) WithJobID(jobID string) *JobDeleteParams
WithJobID adds the jobID to the job delete params
func (*JobDeleteParams) WithOcpDate ¶
func (o *JobDeleteParams) WithOcpDate(ocpDate *string) *JobDeleteParams
WithOcpDate adds the ocpDate to the job delete params
func (*JobDeleteParams) WithRequestTimeout ¶
func (o *JobDeleteParams) WithRequestTimeout(timeout time.Duration) *JobDeleteParams
WithRequestTimeout adds the timeout to the job delete params
func (*JobDeleteParams) WithReturnClientRequestID ¶
func (o *JobDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobDeleteParams
WithReturnClientRequestID adds the returnClientRequestID to the job delete params
func (*JobDeleteParams) WithTimeout ¶
func (o *JobDeleteParams) WithTimeout(timeout *int32) *JobDeleteParams
WithTimeout adds the timeout to the job delete params
func (*JobDeleteParams) WriteToRequest ¶
func (o *JobDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobDeleteReader ¶
type JobDeleteReader struct {
// contains filtered or unexported fields
}
JobDeleteReader is a Reader for the JobDelete structure.
func (*JobDeleteReader) ReadResponse ¶
func (o *JobDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobDisableAccepted ¶
type JobDisableAccepted struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobDisableAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewJobDisableAccepted ¶
func NewJobDisableAccepted() *JobDisableAccepted
NewJobDisableAccepted creates a JobDisableAccepted with default headers values
func (*JobDisableAccepted) Error ¶
func (o *JobDisableAccepted) Error() string
type JobDisableDefault ¶
type JobDisableDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobDisableDefault handles this case with default header values.
The error from the Batch service.
func NewJobDisableDefault ¶
func NewJobDisableDefault(code int) *JobDisableDefault
NewJobDisableDefault creates a JobDisableDefault with default headers values
func (*JobDisableDefault) Code ¶
func (o *JobDisableDefault) Code() int
Code gets the status code for the job disable default response
func (*JobDisableDefault) Error ¶
func (o *JobDisableDefault) Error() string
type JobDisableParams ¶
type JobDisableParams struct { /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobDisableParameter The parameters for the request. */ JobDisableParameter *models.JobDisableParameter /*JobID The ID of the job to disable. */ JobID string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobDisableParams contains all the parameters to send to the API endpoint for the job disable operation typically these are written to a http.Request
func NewJobDisableParams ¶
func NewJobDisableParams() *JobDisableParams
NewJobDisableParams creates a new JobDisableParams object with the default values initialized.
func NewJobDisableParamsWithContext ¶
func NewJobDisableParamsWithContext(ctx context.Context) *JobDisableParams
NewJobDisableParamsWithContext creates a new JobDisableParams object with the default values initialized, and the ability to set a context for a request
func NewJobDisableParamsWithTimeout ¶
func NewJobDisableParamsWithTimeout(timeout time.Duration) *JobDisableParams
NewJobDisableParamsWithTimeout creates a new JobDisableParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobDisableParams) SetAPIVersion ¶
func (o *JobDisableParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job disable params
func (*JobDisableParams) SetClientRequestID ¶
func (o *JobDisableParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job disable params
func (*JobDisableParams) SetContext ¶
func (o *JobDisableParams) SetContext(ctx context.Context)
SetContext adds the context to the job disable params
func (*JobDisableParams) SetIfMatch ¶
func (o *JobDisableParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job disable params
func (*JobDisableParams) SetIfModifiedSince ¶
func (o *JobDisableParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job disable params
func (*JobDisableParams) SetIfNoneMatch ¶
func (o *JobDisableParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job disable params
func (*JobDisableParams) SetIfUnmodifiedSince ¶
func (o *JobDisableParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job disable params
func (*JobDisableParams) SetJobDisableParameter ¶
func (o *JobDisableParams) SetJobDisableParameter(jobDisableParameter *models.JobDisableParameter)
SetJobDisableParameter adds the jobDisableParameter to the job disable params
func (*JobDisableParams) SetJobID ¶
func (o *JobDisableParams) SetJobID(jobID string)
SetJobID adds the jobId to the job disable params
func (*JobDisableParams) SetOcpDate ¶
func (o *JobDisableParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job disable params
func (*JobDisableParams) SetRequestTimeout ¶
func (o *JobDisableParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job disable params
func (*JobDisableParams) SetReturnClientRequestID ¶
func (o *JobDisableParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job disable params
func (*JobDisableParams) SetTimeout ¶
func (o *JobDisableParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job disable params
func (*JobDisableParams) WithAPIVersion ¶
func (o *JobDisableParams) WithAPIVersion(aPIVersion string) *JobDisableParams
WithAPIVersion adds the aPIVersion to the job disable params
func (*JobDisableParams) WithClientRequestID ¶
func (o *JobDisableParams) WithClientRequestID(clientRequestID *string) *JobDisableParams
WithClientRequestID adds the clientRequestID to the job disable params
func (*JobDisableParams) WithContext ¶
func (o *JobDisableParams) WithContext(ctx context.Context) *JobDisableParams
WithContext adds the context to the job disable params
func (*JobDisableParams) WithIfMatch ¶
func (o *JobDisableParams) WithIfMatch(ifMatch *string) *JobDisableParams
WithIfMatch adds the ifMatch to the job disable params
func (*JobDisableParams) WithIfModifiedSince ¶
func (o *JobDisableParams) WithIfModifiedSince(ifModifiedSince *string) *JobDisableParams
WithIfModifiedSince adds the ifModifiedSince to the job disable params
func (*JobDisableParams) WithIfNoneMatch ¶
func (o *JobDisableParams) WithIfNoneMatch(ifNoneMatch *string) *JobDisableParams
WithIfNoneMatch adds the ifNoneMatch to the job disable params
func (*JobDisableParams) WithIfUnmodifiedSince ¶
func (o *JobDisableParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobDisableParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job disable params
func (*JobDisableParams) WithJobDisableParameter ¶
func (o *JobDisableParams) WithJobDisableParameter(jobDisableParameter *models.JobDisableParameter) *JobDisableParams
WithJobDisableParameter adds the jobDisableParameter to the job disable params
func (*JobDisableParams) WithJobID ¶
func (o *JobDisableParams) WithJobID(jobID string) *JobDisableParams
WithJobID adds the jobID to the job disable params
func (*JobDisableParams) WithOcpDate ¶
func (o *JobDisableParams) WithOcpDate(ocpDate *string) *JobDisableParams
WithOcpDate adds the ocpDate to the job disable params
func (*JobDisableParams) WithRequestTimeout ¶
func (o *JobDisableParams) WithRequestTimeout(timeout time.Duration) *JobDisableParams
WithRequestTimeout adds the timeout to the job disable params
func (*JobDisableParams) WithReturnClientRequestID ¶
func (o *JobDisableParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobDisableParams
WithReturnClientRequestID adds the returnClientRequestID to the job disable params
func (*JobDisableParams) WithTimeout ¶
func (o *JobDisableParams) WithTimeout(timeout *int32) *JobDisableParams
WithTimeout adds the timeout to the job disable params
func (*JobDisableParams) WriteToRequest ¶
func (o *JobDisableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobDisableReader ¶
type JobDisableReader struct {
// contains filtered or unexported fields
}
JobDisableReader is a Reader for the JobDisable structure.
func (*JobDisableReader) ReadResponse ¶
func (o *JobDisableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobEnableAccepted ¶
type JobEnableAccepted struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobEnableAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewJobEnableAccepted ¶
func NewJobEnableAccepted() *JobEnableAccepted
NewJobEnableAccepted creates a JobEnableAccepted with default headers values
func (*JobEnableAccepted) Error ¶
func (o *JobEnableAccepted) Error() string
type JobEnableDefault ¶
type JobEnableDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobEnableDefault handles this case with default header values.
The error from the Batch service.
func NewJobEnableDefault ¶
func NewJobEnableDefault(code int) *JobEnableDefault
NewJobEnableDefault creates a JobEnableDefault with default headers values
func (*JobEnableDefault) Code ¶
func (o *JobEnableDefault) Code() int
Code gets the status code for the job enable default response
func (*JobEnableDefault) Error ¶
func (o *JobEnableDefault) Error() string
type JobEnableParams ¶
type JobEnableParams struct { /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job to enable. */ JobID string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobEnableParams contains all the parameters to send to the API endpoint for the job enable operation typically these are written to a http.Request
func NewJobEnableParams ¶
func NewJobEnableParams() *JobEnableParams
NewJobEnableParams creates a new JobEnableParams object with the default values initialized.
func NewJobEnableParamsWithContext ¶
func NewJobEnableParamsWithContext(ctx context.Context) *JobEnableParams
NewJobEnableParamsWithContext creates a new JobEnableParams object with the default values initialized, and the ability to set a context for a request
func NewJobEnableParamsWithTimeout ¶
func NewJobEnableParamsWithTimeout(timeout time.Duration) *JobEnableParams
NewJobEnableParamsWithTimeout creates a new JobEnableParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobEnableParams) SetAPIVersion ¶
func (o *JobEnableParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job enable params
func (*JobEnableParams) SetClientRequestID ¶
func (o *JobEnableParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job enable params
func (*JobEnableParams) SetContext ¶
func (o *JobEnableParams) SetContext(ctx context.Context)
SetContext adds the context to the job enable params
func (*JobEnableParams) SetIfMatch ¶
func (o *JobEnableParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job enable params
func (*JobEnableParams) SetIfModifiedSince ¶
func (o *JobEnableParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job enable params
func (*JobEnableParams) SetIfNoneMatch ¶
func (o *JobEnableParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job enable params
func (*JobEnableParams) SetIfUnmodifiedSince ¶
func (o *JobEnableParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job enable params
func (*JobEnableParams) SetJobID ¶
func (o *JobEnableParams) SetJobID(jobID string)
SetJobID adds the jobId to the job enable params
func (*JobEnableParams) SetOcpDate ¶
func (o *JobEnableParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job enable params
func (*JobEnableParams) SetRequestTimeout ¶
func (o *JobEnableParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job enable params
func (*JobEnableParams) SetReturnClientRequestID ¶
func (o *JobEnableParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job enable params
func (*JobEnableParams) SetTimeout ¶
func (o *JobEnableParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job enable params
func (*JobEnableParams) WithAPIVersion ¶
func (o *JobEnableParams) WithAPIVersion(aPIVersion string) *JobEnableParams
WithAPIVersion adds the aPIVersion to the job enable params
func (*JobEnableParams) WithClientRequestID ¶
func (o *JobEnableParams) WithClientRequestID(clientRequestID *string) *JobEnableParams
WithClientRequestID adds the clientRequestID to the job enable params
func (*JobEnableParams) WithContext ¶
func (o *JobEnableParams) WithContext(ctx context.Context) *JobEnableParams
WithContext adds the context to the job enable params
func (*JobEnableParams) WithIfMatch ¶
func (o *JobEnableParams) WithIfMatch(ifMatch *string) *JobEnableParams
WithIfMatch adds the ifMatch to the job enable params
func (*JobEnableParams) WithIfModifiedSince ¶
func (o *JobEnableParams) WithIfModifiedSince(ifModifiedSince *string) *JobEnableParams
WithIfModifiedSince adds the ifModifiedSince to the job enable params
func (*JobEnableParams) WithIfNoneMatch ¶
func (o *JobEnableParams) WithIfNoneMatch(ifNoneMatch *string) *JobEnableParams
WithIfNoneMatch adds the ifNoneMatch to the job enable params
func (*JobEnableParams) WithIfUnmodifiedSince ¶
func (o *JobEnableParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobEnableParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job enable params
func (*JobEnableParams) WithJobID ¶
func (o *JobEnableParams) WithJobID(jobID string) *JobEnableParams
WithJobID adds the jobID to the job enable params
func (*JobEnableParams) WithOcpDate ¶
func (o *JobEnableParams) WithOcpDate(ocpDate *string) *JobEnableParams
WithOcpDate adds the ocpDate to the job enable params
func (*JobEnableParams) WithRequestTimeout ¶
func (o *JobEnableParams) WithRequestTimeout(timeout time.Duration) *JobEnableParams
WithRequestTimeout adds the timeout to the job enable params
func (*JobEnableParams) WithReturnClientRequestID ¶
func (o *JobEnableParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobEnableParams
WithReturnClientRequestID adds the returnClientRequestID to the job enable params
func (*JobEnableParams) WithTimeout ¶
func (o *JobEnableParams) WithTimeout(timeout *int32) *JobEnableParams
WithTimeout adds the timeout to the job enable params
func (*JobEnableParams) WriteToRequest ¶
func (o *JobEnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobEnableReader ¶
type JobEnableReader struct {
// contains filtered or unexported fields
}
JobEnableReader is a Reader for the JobEnable structure.
func (*JobEnableReader) ReadResponse ¶
func (o *JobEnableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobGetAllJobsLifetimeStatisticsDefault ¶
type JobGetAllJobsLifetimeStatisticsDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobGetAllJobsLifetimeStatisticsDefault handles this case with default header values.
The error from the Batch service.
func NewJobGetAllJobsLifetimeStatisticsDefault ¶
func NewJobGetAllJobsLifetimeStatisticsDefault(code int) *JobGetAllJobsLifetimeStatisticsDefault
NewJobGetAllJobsLifetimeStatisticsDefault creates a JobGetAllJobsLifetimeStatisticsDefault with default headers values
func (*JobGetAllJobsLifetimeStatisticsDefault) Code ¶
func (o *JobGetAllJobsLifetimeStatisticsDefault) Code() int
Code gets the status code for the job get all jobs lifetime statistics default response
func (*JobGetAllJobsLifetimeStatisticsDefault) Error ¶
func (o *JobGetAllJobsLifetimeStatisticsDefault) Error() string
type JobGetAllJobsLifetimeStatisticsOK ¶
type JobGetAllJobsLifetimeStatisticsOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.JobStatistics }
JobGetAllJobsLifetimeStatisticsOK handles this case with default header values.
A response containing the job statistics for the lifetime of the Batch account.
func NewJobGetAllJobsLifetimeStatisticsOK ¶
func NewJobGetAllJobsLifetimeStatisticsOK() *JobGetAllJobsLifetimeStatisticsOK
NewJobGetAllJobsLifetimeStatisticsOK creates a JobGetAllJobsLifetimeStatisticsOK with default headers values
func (*JobGetAllJobsLifetimeStatisticsOK) Error ¶
func (o *JobGetAllJobsLifetimeStatisticsOK) Error() string
type JobGetAllJobsLifetimeStatisticsParams ¶
type JobGetAllJobsLifetimeStatisticsParams struct { /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobGetAllJobsLifetimeStatisticsParams contains all the parameters to send to the API endpoint for the job get all jobs lifetime statistics operation typically these are written to a http.Request
func NewJobGetAllJobsLifetimeStatisticsParams ¶
func NewJobGetAllJobsLifetimeStatisticsParams() *JobGetAllJobsLifetimeStatisticsParams
NewJobGetAllJobsLifetimeStatisticsParams creates a new JobGetAllJobsLifetimeStatisticsParams object with the default values initialized.
func NewJobGetAllJobsLifetimeStatisticsParamsWithContext ¶
func NewJobGetAllJobsLifetimeStatisticsParamsWithContext(ctx context.Context) *JobGetAllJobsLifetimeStatisticsParams
NewJobGetAllJobsLifetimeStatisticsParamsWithContext creates a new JobGetAllJobsLifetimeStatisticsParams object with the default values initialized, and the ability to set a context for a request
func NewJobGetAllJobsLifetimeStatisticsParamsWithTimeout ¶
func NewJobGetAllJobsLifetimeStatisticsParamsWithTimeout(timeout time.Duration) *JobGetAllJobsLifetimeStatisticsParams
NewJobGetAllJobsLifetimeStatisticsParamsWithTimeout creates a new JobGetAllJobsLifetimeStatisticsParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobGetAllJobsLifetimeStatisticsParams) SetAPIVersion ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) SetClientRequestID ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) SetContext ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetContext(ctx context.Context)
SetContext adds the context to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) SetOcpDate ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) SetRequestTimeout ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) SetReturnClientRequestID ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) SetTimeout ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithAPIVersion ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithAPIVersion(aPIVersion string) *JobGetAllJobsLifetimeStatisticsParams
WithAPIVersion adds the aPIVersion to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithClientRequestID ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithClientRequestID(clientRequestID *string) *JobGetAllJobsLifetimeStatisticsParams
WithClientRequestID adds the clientRequestID to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithContext ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithContext(ctx context.Context) *JobGetAllJobsLifetimeStatisticsParams
WithContext adds the context to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithOcpDate ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithOcpDate(ocpDate *string) *JobGetAllJobsLifetimeStatisticsParams
WithOcpDate adds the ocpDate to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithRequestTimeout ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithRequestTimeout(timeout time.Duration) *JobGetAllJobsLifetimeStatisticsParams
WithRequestTimeout adds the timeout to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithReturnClientRequestID ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobGetAllJobsLifetimeStatisticsParams
WithReturnClientRequestID adds the returnClientRequestID to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WithTimeout ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WithTimeout(timeout *int32) *JobGetAllJobsLifetimeStatisticsParams
WithTimeout adds the timeout to the job get all jobs lifetime statistics params
func (*JobGetAllJobsLifetimeStatisticsParams) WriteToRequest ¶
func (o *JobGetAllJobsLifetimeStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobGetAllJobsLifetimeStatisticsReader ¶
type JobGetAllJobsLifetimeStatisticsReader struct {
// contains filtered or unexported fields
}
JobGetAllJobsLifetimeStatisticsReader is a Reader for the JobGetAllJobsLifetimeStatistics structure.
func (*JobGetAllJobsLifetimeStatisticsReader) ReadResponse ¶
func (o *JobGetAllJobsLifetimeStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobGetDefault ¶
type JobGetDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobGetDefault handles this case with default header values.
The error from the Batch service.
func NewJobGetDefault ¶
func NewJobGetDefault(code int) *JobGetDefault
NewJobGetDefault creates a JobGetDefault with default headers values
func (*JobGetDefault) Code ¶
func (o *JobGetDefault) Code() int
Code gets the status code for the job get default response
func (*JobGetDefault) Error ¶
func (o *JobGetDefault) Error() string
type JobGetOK ¶
type JobGetOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.CloudJob }
JobGetOK handles this case with default header values.
A response containing the job.
func NewJobGetOK ¶
func NewJobGetOK() *JobGetOK
NewJobGetOK creates a JobGetOK with default headers values
type JobGetParams ¶
type JobGetParams struct { /*NrDollarExpand An OData $expand clause. */ DollarExpand *string /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job. */ JobID string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobGetParams contains all the parameters to send to the API endpoint for the job get operation typically these are written to a http.Request
func NewJobGetParams ¶
func NewJobGetParams() *JobGetParams
NewJobGetParams creates a new JobGetParams object with the default values initialized.
func NewJobGetParamsWithContext ¶
func NewJobGetParamsWithContext(ctx context.Context) *JobGetParams
NewJobGetParamsWithContext creates a new JobGetParams object with the default values initialized, and the ability to set a context for a request
func NewJobGetParamsWithTimeout ¶
func NewJobGetParamsWithTimeout(timeout time.Duration) *JobGetParams
NewJobGetParamsWithTimeout creates a new JobGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobGetParams) SetAPIVersion ¶
func (o *JobGetParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job get params
func (*JobGetParams) SetClientRequestID ¶
func (o *JobGetParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job get params
func (*JobGetParams) SetContext ¶
func (o *JobGetParams) SetContext(ctx context.Context)
SetContext adds the context to the job get params
func (*JobGetParams) SetDollarExpand ¶
func (o *JobGetParams) SetDollarExpand(dollarExpand *string)
SetDollarExpand adds the dollarExpand to the job get params
func (*JobGetParams) SetDollarSelect ¶
func (o *JobGetParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the job get params
func (*JobGetParams) SetIfMatch ¶
func (o *JobGetParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job get params
func (*JobGetParams) SetIfModifiedSince ¶
func (o *JobGetParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job get params
func (*JobGetParams) SetIfNoneMatch ¶
func (o *JobGetParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job get params
func (*JobGetParams) SetIfUnmodifiedSince ¶
func (o *JobGetParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job get params
func (*JobGetParams) SetJobID ¶
func (o *JobGetParams) SetJobID(jobID string)
SetJobID adds the jobId to the job get params
func (*JobGetParams) SetOcpDate ¶
func (o *JobGetParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job get params
func (*JobGetParams) SetRequestTimeout ¶
func (o *JobGetParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job get params
func (*JobGetParams) SetReturnClientRequestID ¶
func (o *JobGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job get params
func (*JobGetParams) SetTimeout ¶
func (o *JobGetParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job get params
func (*JobGetParams) WithAPIVersion ¶
func (o *JobGetParams) WithAPIVersion(aPIVersion string) *JobGetParams
WithAPIVersion adds the aPIVersion to the job get params
func (*JobGetParams) WithClientRequestID ¶
func (o *JobGetParams) WithClientRequestID(clientRequestID *string) *JobGetParams
WithClientRequestID adds the clientRequestID to the job get params
func (*JobGetParams) WithContext ¶
func (o *JobGetParams) WithContext(ctx context.Context) *JobGetParams
WithContext adds the context to the job get params
func (*JobGetParams) WithDollarExpand ¶
func (o *JobGetParams) WithDollarExpand(dollarExpand *string) *JobGetParams
WithDollarExpand adds the dollarExpand to the job get params
func (*JobGetParams) WithDollarSelect ¶
func (o *JobGetParams) WithDollarSelect(dollarSelect *string) *JobGetParams
WithDollarSelect adds the dollarSelect to the job get params
func (*JobGetParams) WithIfMatch ¶
func (o *JobGetParams) WithIfMatch(ifMatch *string) *JobGetParams
WithIfMatch adds the ifMatch to the job get params
func (*JobGetParams) WithIfModifiedSince ¶
func (o *JobGetParams) WithIfModifiedSince(ifModifiedSince *string) *JobGetParams
WithIfModifiedSince adds the ifModifiedSince to the job get params
func (*JobGetParams) WithIfNoneMatch ¶
func (o *JobGetParams) WithIfNoneMatch(ifNoneMatch *string) *JobGetParams
WithIfNoneMatch adds the ifNoneMatch to the job get params
func (*JobGetParams) WithIfUnmodifiedSince ¶
func (o *JobGetParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobGetParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job get params
func (*JobGetParams) WithJobID ¶
func (o *JobGetParams) WithJobID(jobID string) *JobGetParams
WithJobID adds the jobID to the job get params
func (*JobGetParams) WithOcpDate ¶
func (o *JobGetParams) WithOcpDate(ocpDate *string) *JobGetParams
WithOcpDate adds the ocpDate to the job get params
func (*JobGetParams) WithRequestTimeout ¶
func (o *JobGetParams) WithRequestTimeout(timeout time.Duration) *JobGetParams
WithRequestTimeout adds the timeout to the job get params
func (*JobGetParams) WithReturnClientRequestID ¶
func (o *JobGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobGetParams
WithReturnClientRequestID adds the returnClientRequestID to the job get params
func (*JobGetParams) WithTimeout ¶
func (o *JobGetParams) WithTimeout(timeout *int32) *JobGetParams
WithTimeout adds the timeout to the job get params
func (*JobGetParams) WriteToRequest ¶
func (o *JobGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobGetReader ¶
type JobGetReader struct {
// contains filtered or unexported fields
}
JobGetReader is a Reader for the JobGet structure.
func (*JobGetReader) ReadResponse ¶
func (o *JobGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobListDefault ¶
type JobListDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobListDefault handles this case with default header values.
The error from the Batch service.
func NewJobListDefault ¶
func NewJobListDefault(code int) *JobListDefault
NewJobListDefault creates a JobListDefault with default headers values
func (*JobListDefault) Code ¶
func (o *JobListDefault) Code() int
Code gets the status code for the job list default response
func (*JobListDefault) Error ¶
func (o *JobListDefault) Error() string
type JobListFromJobScheduleDefault ¶
type JobListFromJobScheduleDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobListFromJobScheduleDefault handles this case with default header values.
The error from the Batch service.
func NewJobListFromJobScheduleDefault ¶
func NewJobListFromJobScheduleDefault(code int) *JobListFromJobScheduleDefault
NewJobListFromJobScheduleDefault creates a JobListFromJobScheduleDefault with default headers values
func (*JobListFromJobScheduleDefault) Code ¶
func (o *JobListFromJobScheduleDefault) Code() int
Code gets the status code for the job list from job schedule default response
func (*JobListFromJobScheduleDefault) Error ¶
func (o *JobListFromJobScheduleDefault) Error() string
type JobListFromJobScheduleOK ¶
type JobListFromJobScheduleOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.CloudJobListResult }
JobListFromJobScheduleOK handles this case with default header values.
A response containing the list of jobs.
func NewJobListFromJobScheduleOK ¶
func NewJobListFromJobScheduleOK() *JobListFromJobScheduleOK
NewJobListFromJobScheduleOK creates a JobListFromJobScheduleOK with default headers values
func (*JobListFromJobScheduleOK) Error ¶
func (o *JobListFromJobScheduleOK) Error() string
type JobListFromJobScheduleParams ¶
type JobListFromJobScheduleParams struct { /*NrDollarExpand An OData $expand clause. */ DollarExpand *string /*NrDollarFilter An OData $filter clause. */ DollarFilter *string /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobScheduleID The ID of the job schedule from which you want to get a list of jobs. */ JobScheduleID string /*Maxresults The maximum number of items to return in the response. A maximum of 1000 jobs can be returned. */ Maxresults *int32 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobListFromJobScheduleParams contains all the parameters to send to the API endpoint for the job list from job schedule operation typically these are written to a http.Request
func NewJobListFromJobScheduleParams ¶
func NewJobListFromJobScheduleParams() *JobListFromJobScheduleParams
NewJobListFromJobScheduleParams creates a new JobListFromJobScheduleParams object with the default values initialized.
func NewJobListFromJobScheduleParamsWithContext ¶
func NewJobListFromJobScheduleParamsWithContext(ctx context.Context) *JobListFromJobScheduleParams
NewJobListFromJobScheduleParamsWithContext creates a new JobListFromJobScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewJobListFromJobScheduleParamsWithTimeout ¶
func NewJobListFromJobScheduleParamsWithTimeout(timeout time.Duration) *JobListFromJobScheduleParams
NewJobListFromJobScheduleParamsWithTimeout creates a new JobListFromJobScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobListFromJobScheduleParams) SetAPIVersion ¶
func (o *JobListFromJobScheduleParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetClientRequestID ¶
func (o *JobListFromJobScheduleParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetContext ¶
func (o *JobListFromJobScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetDollarExpand ¶
func (o *JobListFromJobScheduleParams) SetDollarExpand(dollarExpand *string)
SetDollarExpand adds the dollarExpand to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetDollarFilter ¶
func (o *JobListFromJobScheduleParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetDollarSelect ¶
func (o *JobListFromJobScheduleParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetJobScheduleID ¶
func (o *JobListFromJobScheduleParams) SetJobScheduleID(jobScheduleID string)
SetJobScheduleID adds the jobScheduleId to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetMaxresults ¶
func (o *JobListFromJobScheduleParams) SetMaxresults(maxresults *int32)
SetMaxresults adds the maxresults to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetOcpDate ¶
func (o *JobListFromJobScheduleParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetRequestTimeout ¶
func (o *JobListFromJobScheduleParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetReturnClientRequestID ¶
func (o *JobListFromJobScheduleParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job list from job schedule params
func (*JobListFromJobScheduleParams) SetTimeout ¶
func (o *JobListFromJobScheduleParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithAPIVersion ¶
func (o *JobListFromJobScheduleParams) WithAPIVersion(aPIVersion string) *JobListFromJobScheduleParams
WithAPIVersion adds the aPIVersion to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithClientRequestID ¶
func (o *JobListFromJobScheduleParams) WithClientRequestID(clientRequestID *string) *JobListFromJobScheduleParams
WithClientRequestID adds the clientRequestID to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithContext ¶
func (o *JobListFromJobScheduleParams) WithContext(ctx context.Context) *JobListFromJobScheduleParams
WithContext adds the context to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithDollarExpand ¶
func (o *JobListFromJobScheduleParams) WithDollarExpand(dollarExpand *string) *JobListFromJobScheduleParams
WithDollarExpand adds the dollarExpand to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithDollarFilter ¶
func (o *JobListFromJobScheduleParams) WithDollarFilter(dollarFilter *string) *JobListFromJobScheduleParams
WithDollarFilter adds the dollarFilter to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithDollarSelect ¶
func (o *JobListFromJobScheduleParams) WithDollarSelect(dollarSelect *string) *JobListFromJobScheduleParams
WithDollarSelect adds the dollarSelect to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithJobScheduleID ¶
func (o *JobListFromJobScheduleParams) WithJobScheduleID(jobScheduleID string) *JobListFromJobScheduleParams
WithJobScheduleID adds the jobScheduleID to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithMaxresults ¶
func (o *JobListFromJobScheduleParams) WithMaxresults(maxresults *int32) *JobListFromJobScheduleParams
WithMaxresults adds the maxresults to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithOcpDate ¶
func (o *JobListFromJobScheduleParams) WithOcpDate(ocpDate *string) *JobListFromJobScheduleParams
WithOcpDate adds the ocpDate to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithRequestTimeout ¶
func (o *JobListFromJobScheduleParams) WithRequestTimeout(timeout time.Duration) *JobListFromJobScheduleParams
WithRequestTimeout adds the timeout to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithReturnClientRequestID ¶
func (o *JobListFromJobScheduleParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobListFromJobScheduleParams
WithReturnClientRequestID adds the returnClientRequestID to the job list from job schedule params
func (*JobListFromJobScheduleParams) WithTimeout ¶
func (o *JobListFromJobScheduleParams) WithTimeout(timeout *int32) *JobListFromJobScheduleParams
WithTimeout adds the timeout to the job list from job schedule params
func (*JobListFromJobScheduleParams) WriteToRequest ¶
func (o *JobListFromJobScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobListFromJobScheduleReader ¶
type JobListFromJobScheduleReader struct {
// contains filtered or unexported fields
}
JobListFromJobScheduleReader is a Reader for the JobListFromJobSchedule structure.
func (*JobListFromJobScheduleReader) ReadResponse ¶
func (o *JobListFromJobScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobListOK ¶
type JobListOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.CloudJobListResult }
JobListOK handles this case with default header values.
A response containing the list of jobs.
func NewJobListOK ¶
func NewJobListOK() *JobListOK
NewJobListOK creates a JobListOK with default headers values
type JobListParams ¶
type JobListParams struct { /*NrDollarExpand An OData $expand clause. */ DollarExpand *string /*NrDollarFilter An OData $filter clause. */ DollarFilter *string /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*Maxresults The maximum number of items to return in the response. A maximum of 1000 jobs can be returned. */ Maxresults *int32 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobListParams contains all the parameters to send to the API endpoint for the job list operation typically these are written to a http.Request
func NewJobListParams ¶
func NewJobListParams() *JobListParams
NewJobListParams creates a new JobListParams object with the default values initialized.
func NewJobListParamsWithContext ¶
func NewJobListParamsWithContext(ctx context.Context) *JobListParams
NewJobListParamsWithContext creates a new JobListParams object with the default values initialized, and the ability to set a context for a request
func NewJobListParamsWithTimeout ¶
func NewJobListParamsWithTimeout(timeout time.Duration) *JobListParams
NewJobListParamsWithTimeout creates a new JobListParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobListParams) SetAPIVersion ¶
func (o *JobListParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job list params
func (*JobListParams) SetClientRequestID ¶
func (o *JobListParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job list params
func (*JobListParams) SetContext ¶
func (o *JobListParams) SetContext(ctx context.Context)
SetContext adds the context to the job list params
func (*JobListParams) SetDollarExpand ¶
func (o *JobListParams) SetDollarExpand(dollarExpand *string)
SetDollarExpand adds the dollarExpand to the job list params
func (*JobListParams) SetDollarFilter ¶
func (o *JobListParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the job list params
func (*JobListParams) SetDollarSelect ¶
func (o *JobListParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the job list params
func (*JobListParams) SetMaxresults ¶
func (o *JobListParams) SetMaxresults(maxresults *int32)
SetMaxresults adds the maxresults to the job list params
func (*JobListParams) SetOcpDate ¶
func (o *JobListParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job list params
func (*JobListParams) SetRequestTimeout ¶
func (o *JobListParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job list params
func (*JobListParams) SetReturnClientRequestID ¶
func (o *JobListParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job list params
func (*JobListParams) SetTimeout ¶
func (o *JobListParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job list params
func (*JobListParams) WithAPIVersion ¶
func (o *JobListParams) WithAPIVersion(aPIVersion string) *JobListParams
WithAPIVersion adds the aPIVersion to the job list params
func (*JobListParams) WithClientRequestID ¶
func (o *JobListParams) WithClientRequestID(clientRequestID *string) *JobListParams
WithClientRequestID adds the clientRequestID to the job list params
func (*JobListParams) WithContext ¶
func (o *JobListParams) WithContext(ctx context.Context) *JobListParams
WithContext adds the context to the job list params
func (*JobListParams) WithDollarExpand ¶
func (o *JobListParams) WithDollarExpand(dollarExpand *string) *JobListParams
WithDollarExpand adds the dollarExpand to the job list params
func (*JobListParams) WithDollarFilter ¶
func (o *JobListParams) WithDollarFilter(dollarFilter *string) *JobListParams
WithDollarFilter adds the dollarFilter to the job list params
func (*JobListParams) WithDollarSelect ¶
func (o *JobListParams) WithDollarSelect(dollarSelect *string) *JobListParams
WithDollarSelect adds the dollarSelect to the job list params
func (*JobListParams) WithMaxresults ¶
func (o *JobListParams) WithMaxresults(maxresults *int32) *JobListParams
WithMaxresults adds the maxresults to the job list params
func (*JobListParams) WithOcpDate ¶
func (o *JobListParams) WithOcpDate(ocpDate *string) *JobListParams
WithOcpDate adds the ocpDate to the job list params
func (*JobListParams) WithRequestTimeout ¶
func (o *JobListParams) WithRequestTimeout(timeout time.Duration) *JobListParams
WithRequestTimeout adds the timeout to the job list params
func (*JobListParams) WithReturnClientRequestID ¶
func (o *JobListParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobListParams
WithReturnClientRequestID adds the returnClientRequestID to the job list params
func (*JobListParams) WithTimeout ¶
func (o *JobListParams) WithTimeout(timeout *int32) *JobListParams
WithTimeout adds the timeout to the job list params
func (*JobListParams) WriteToRequest ¶
func (o *JobListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobListPreparationAndReleaseTaskStatusDefault ¶
type JobListPreparationAndReleaseTaskStatusDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobListPreparationAndReleaseTaskStatusDefault handles this case with default header values.
The error from the Batch service. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409.
func NewJobListPreparationAndReleaseTaskStatusDefault ¶
func NewJobListPreparationAndReleaseTaskStatusDefault(code int) *JobListPreparationAndReleaseTaskStatusDefault
NewJobListPreparationAndReleaseTaskStatusDefault creates a JobListPreparationAndReleaseTaskStatusDefault with default headers values
func (*JobListPreparationAndReleaseTaskStatusDefault) Code ¶
func (o *JobListPreparationAndReleaseTaskStatusDefault) Code() int
Code gets the status code for the job list preparation and release task status default response
func (*JobListPreparationAndReleaseTaskStatusDefault) Error ¶
func (o *JobListPreparationAndReleaseTaskStatusDefault) Error() string
type JobListPreparationAndReleaseTaskStatusOK ¶
type JobListPreparationAndReleaseTaskStatusOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.CloudJobListPreparationAndReleaseTaskStatusResult }
JobListPreparationAndReleaseTaskStatusOK handles this case with default header values.
A response containing a list of job preparation and job release task statuses.
func NewJobListPreparationAndReleaseTaskStatusOK ¶
func NewJobListPreparationAndReleaseTaskStatusOK() *JobListPreparationAndReleaseTaskStatusOK
NewJobListPreparationAndReleaseTaskStatusOK creates a JobListPreparationAndReleaseTaskStatusOK with default headers values
func (*JobListPreparationAndReleaseTaskStatusOK) Error ¶
func (o *JobListPreparationAndReleaseTaskStatusOK) Error() string
type JobListPreparationAndReleaseTaskStatusParams ¶
type JobListPreparationAndReleaseTaskStatusParams struct { /*NrDollarFilter An OData $filter clause. */ DollarFilter *string /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job. */ JobID string /*Maxresults The maximum number of items to return in the response. A maximum of 1000 tasks can be returned. */ Maxresults *int32 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobListPreparationAndReleaseTaskStatusParams contains all the parameters to send to the API endpoint for the job list preparation and release task status operation typically these are written to a http.Request
func NewJobListPreparationAndReleaseTaskStatusParams ¶
func NewJobListPreparationAndReleaseTaskStatusParams() *JobListPreparationAndReleaseTaskStatusParams
NewJobListPreparationAndReleaseTaskStatusParams creates a new JobListPreparationAndReleaseTaskStatusParams object with the default values initialized.
func NewJobListPreparationAndReleaseTaskStatusParamsWithContext ¶
func NewJobListPreparationAndReleaseTaskStatusParamsWithContext(ctx context.Context) *JobListPreparationAndReleaseTaskStatusParams
NewJobListPreparationAndReleaseTaskStatusParamsWithContext creates a new JobListPreparationAndReleaseTaskStatusParams object with the default values initialized, and the ability to set a context for a request
func NewJobListPreparationAndReleaseTaskStatusParamsWithTimeout ¶
func NewJobListPreparationAndReleaseTaskStatusParamsWithTimeout(timeout time.Duration) *JobListPreparationAndReleaseTaskStatusParams
NewJobListPreparationAndReleaseTaskStatusParamsWithTimeout creates a new JobListPreparationAndReleaseTaskStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobListPreparationAndReleaseTaskStatusParams) SetAPIVersion ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetClientRequestID ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetContext ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetDollarFilter ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetDollarSelect ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetJobID ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetJobID(jobID string)
SetJobID adds the jobId to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetMaxresults ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetMaxresults(maxresults *int32)
SetMaxresults adds the maxresults to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetOcpDate ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetRequestTimeout ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetReturnClientRequestID ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) SetTimeout ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithAPIVersion ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithAPIVersion(aPIVersion string) *JobListPreparationAndReleaseTaskStatusParams
WithAPIVersion adds the aPIVersion to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithClientRequestID ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithClientRequestID(clientRequestID *string) *JobListPreparationAndReleaseTaskStatusParams
WithClientRequestID adds the clientRequestID to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithContext ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithContext(ctx context.Context) *JobListPreparationAndReleaseTaskStatusParams
WithContext adds the context to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithDollarFilter ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithDollarFilter(dollarFilter *string) *JobListPreparationAndReleaseTaskStatusParams
WithDollarFilter adds the dollarFilter to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithDollarSelect ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithDollarSelect(dollarSelect *string) *JobListPreparationAndReleaseTaskStatusParams
WithDollarSelect adds the dollarSelect to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithJobID ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithJobID(jobID string) *JobListPreparationAndReleaseTaskStatusParams
WithJobID adds the jobID to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithMaxresults ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithMaxresults(maxresults *int32) *JobListPreparationAndReleaseTaskStatusParams
WithMaxresults adds the maxresults to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithOcpDate ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithOcpDate(ocpDate *string) *JobListPreparationAndReleaseTaskStatusParams
WithOcpDate adds the ocpDate to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithRequestTimeout ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithRequestTimeout(timeout time.Duration) *JobListPreparationAndReleaseTaskStatusParams
WithRequestTimeout adds the timeout to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithReturnClientRequestID ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobListPreparationAndReleaseTaskStatusParams
WithReturnClientRequestID adds the returnClientRequestID to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WithTimeout ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WithTimeout(timeout *int32) *JobListPreparationAndReleaseTaskStatusParams
WithTimeout adds the timeout to the job list preparation and release task status params
func (*JobListPreparationAndReleaseTaskStatusParams) WriteToRequest ¶
func (o *JobListPreparationAndReleaseTaskStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobListPreparationAndReleaseTaskStatusReader ¶
type JobListPreparationAndReleaseTaskStatusReader struct {
// contains filtered or unexported fields
}
JobListPreparationAndReleaseTaskStatusReader is a Reader for the JobListPreparationAndReleaseTaskStatus structure.
func (*JobListPreparationAndReleaseTaskStatusReader) ReadResponse ¶
func (o *JobListPreparationAndReleaseTaskStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobListReader ¶
type JobListReader struct {
// contains filtered or unexported fields
}
JobListReader is a Reader for the JobList structure.
func (*JobListReader) ReadResponse ¶
func (o *JobListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobPatchDefault ¶
type JobPatchDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobPatchDefault handles this case with default header values.
The error from the Batch service.
func NewJobPatchDefault ¶
func NewJobPatchDefault(code int) *JobPatchDefault
NewJobPatchDefault creates a JobPatchDefault with default headers values
func (*JobPatchDefault) Code ¶
func (o *JobPatchDefault) Code() int
Code gets the status code for the job patch default response
func (*JobPatchDefault) Error ¶
func (o *JobPatchDefault) Error() string
type JobPatchOK ¶
type JobPatchOK struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobPatchOK handles this case with default header values.
The request to the Batch service was successful.
func NewJobPatchOK ¶
func NewJobPatchOK() *JobPatchOK
NewJobPatchOK creates a JobPatchOK with default headers values
func (*JobPatchOK) Error ¶
func (o *JobPatchOK) Error() string
type JobPatchParams ¶
type JobPatchParams struct { /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job whose properties you want to update. */ JobID string /*JobPatchParameter The parameters for the request. */ JobPatchParameter *models.JobPatchParameter /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobPatchParams contains all the parameters to send to the API endpoint for the job patch operation typically these are written to a http.Request
func NewJobPatchParams ¶
func NewJobPatchParams() *JobPatchParams
NewJobPatchParams creates a new JobPatchParams object with the default values initialized.
func NewJobPatchParamsWithContext ¶
func NewJobPatchParamsWithContext(ctx context.Context) *JobPatchParams
NewJobPatchParamsWithContext creates a new JobPatchParams object with the default values initialized, and the ability to set a context for a request
func NewJobPatchParamsWithTimeout ¶
func NewJobPatchParamsWithTimeout(timeout time.Duration) *JobPatchParams
NewJobPatchParamsWithTimeout creates a new JobPatchParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobPatchParams) SetAPIVersion ¶
func (o *JobPatchParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job patch params
func (*JobPatchParams) SetClientRequestID ¶
func (o *JobPatchParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job patch params
func (*JobPatchParams) SetContext ¶
func (o *JobPatchParams) SetContext(ctx context.Context)
SetContext adds the context to the job patch params
func (*JobPatchParams) SetIfMatch ¶
func (o *JobPatchParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job patch params
func (*JobPatchParams) SetIfModifiedSince ¶
func (o *JobPatchParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job patch params
func (*JobPatchParams) SetIfNoneMatch ¶
func (o *JobPatchParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job patch params
func (*JobPatchParams) SetIfUnmodifiedSince ¶
func (o *JobPatchParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job patch params
func (*JobPatchParams) SetJobID ¶
func (o *JobPatchParams) SetJobID(jobID string)
SetJobID adds the jobId to the job patch params
func (*JobPatchParams) SetJobPatchParameter ¶
func (o *JobPatchParams) SetJobPatchParameter(jobPatchParameter *models.JobPatchParameter)
SetJobPatchParameter adds the jobPatchParameter to the job patch params
func (*JobPatchParams) SetOcpDate ¶
func (o *JobPatchParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job patch params
func (*JobPatchParams) SetRequestTimeout ¶
func (o *JobPatchParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job patch params
func (*JobPatchParams) SetReturnClientRequestID ¶
func (o *JobPatchParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job patch params
func (*JobPatchParams) SetTimeout ¶
func (o *JobPatchParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job patch params
func (*JobPatchParams) WithAPIVersion ¶
func (o *JobPatchParams) WithAPIVersion(aPIVersion string) *JobPatchParams
WithAPIVersion adds the aPIVersion to the job patch params
func (*JobPatchParams) WithClientRequestID ¶
func (o *JobPatchParams) WithClientRequestID(clientRequestID *string) *JobPatchParams
WithClientRequestID adds the clientRequestID to the job patch params
func (*JobPatchParams) WithContext ¶
func (o *JobPatchParams) WithContext(ctx context.Context) *JobPatchParams
WithContext adds the context to the job patch params
func (*JobPatchParams) WithIfMatch ¶
func (o *JobPatchParams) WithIfMatch(ifMatch *string) *JobPatchParams
WithIfMatch adds the ifMatch to the job patch params
func (*JobPatchParams) WithIfModifiedSince ¶
func (o *JobPatchParams) WithIfModifiedSince(ifModifiedSince *string) *JobPatchParams
WithIfModifiedSince adds the ifModifiedSince to the job patch params
func (*JobPatchParams) WithIfNoneMatch ¶
func (o *JobPatchParams) WithIfNoneMatch(ifNoneMatch *string) *JobPatchParams
WithIfNoneMatch adds the ifNoneMatch to the job patch params
func (*JobPatchParams) WithIfUnmodifiedSince ¶
func (o *JobPatchParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobPatchParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job patch params
func (*JobPatchParams) WithJobID ¶
func (o *JobPatchParams) WithJobID(jobID string) *JobPatchParams
WithJobID adds the jobID to the job patch params
func (*JobPatchParams) WithJobPatchParameter ¶
func (o *JobPatchParams) WithJobPatchParameter(jobPatchParameter *models.JobPatchParameter) *JobPatchParams
WithJobPatchParameter adds the jobPatchParameter to the job patch params
func (*JobPatchParams) WithOcpDate ¶
func (o *JobPatchParams) WithOcpDate(ocpDate *string) *JobPatchParams
WithOcpDate adds the ocpDate to the job patch params
func (*JobPatchParams) WithRequestTimeout ¶
func (o *JobPatchParams) WithRequestTimeout(timeout time.Duration) *JobPatchParams
WithRequestTimeout adds the timeout to the job patch params
func (*JobPatchParams) WithReturnClientRequestID ¶
func (o *JobPatchParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobPatchParams
WithReturnClientRequestID adds the returnClientRequestID to the job patch params
func (*JobPatchParams) WithTimeout ¶
func (o *JobPatchParams) WithTimeout(timeout *int32) *JobPatchParams
WithTimeout adds the timeout to the job patch params
func (*JobPatchParams) WriteToRequest ¶
func (o *JobPatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobPatchReader ¶
type JobPatchReader struct {
// contains filtered or unexported fields
}
JobPatchReader is a Reader for the JobPatch structure.
func (*JobPatchReader) ReadResponse ¶
func (o *JobPatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobTerminateAccepted ¶
type JobTerminateAccepted struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobTerminateAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewJobTerminateAccepted ¶
func NewJobTerminateAccepted() *JobTerminateAccepted
NewJobTerminateAccepted creates a JobTerminateAccepted with default headers values
func (*JobTerminateAccepted) Error ¶
func (o *JobTerminateAccepted) Error() string
type JobTerminateDefault ¶
type JobTerminateDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobTerminateDefault handles this case with default header values.
The error from the Batch service.
func NewJobTerminateDefault ¶
func NewJobTerminateDefault(code int) *JobTerminateDefault
NewJobTerminateDefault creates a JobTerminateDefault with default headers values
func (*JobTerminateDefault) Code ¶
func (o *JobTerminateDefault) Code() int
Code gets the status code for the job terminate default response
func (*JobTerminateDefault) Error ¶
func (o *JobTerminateDefault) Error() string
type JobTerminateParams ¶
type JobTerminateParams struct { /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job to terminate. */ JobID string /*JobTerminateParameter The parameters for the request. */ JobTerminateParameter *models.JobTerminateParameter /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobTerminateParams contains all the parameters to send to the API endpoint for the job terminate operation typically these are written to a http.Request
func NewJobTerminateParams ¶
func NewJobTerminateParams() *JobTerminateParams
NewJobTerminateParams creates a new JobTerminateParams object with the default values initialized.
func NewJobTerminateParamsWithContext ¶
func NewJobTerminateParamsWithContext(ctx context.Context) *JobTerminateParams
NewJobTerminateParamsWithContext creates a new JobTerminateParams object with the default values initialized, and the ability to set a context for a request
func NewJobTerminateParamsWithTimeout ¶
func NewJobTerminateParamsWithTimeout(timeout time.Duration) *JobTerminateParams
NewJobTerminateParamsWithTimeout creates a new JobTerminateParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobTerminateParams) SetAPIVersion ¶
func (o *JobTerminateParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job terminate params
func (*JobTerminateParams) SetClientRequestID ¶
func (o *JobTerminateParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job terminate params
func (*JobTerminateParams) SetContext ¶
func (o *JobTerminateParams) SetContext(ctx context.Context)
SetContext adds the context to the job terminate params
func (*JobTerminateParams) SetIfMatch ¶
func (o *JobTerminateParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job terminate params
func (*JobTerminateParams) SetIfModifiedSince ¶
func (o *JobTerminateParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job terminate params
func (*JobTerminateParams) SetIfNoneMatch ¶
func (o *JobTerminateParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job terminate params
func (*JobTerminateParams) SetIfUnmodifiedSince ¶
func (o *JobTerminateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job terminate params
func (*JobTerminateParams) SetJobID ¶
func (o *JobTerminateParams) SetJobID(jobID string)
SetJobID adds the jobId to the job terminate params
func (*JobTerminateParams) SetJobTerminateParameter ¶
func (o *JobTerminateParams) SetJobTerminateParameter(jobTerminateParameter *models.JobTerminateParameter)
SetJobTerminateParameter adds the jobTerminateParameter to the job terminate params
func (*JobTerminateParams) SetOcpDate ¶
func (o *JobTerminateParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job terminate params
func (*JobTerminateParams) SetRequestTimeout ¶
func (o *JobTerminateParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job terminate params
func (*JobTerminateParams) SetReturnClientRequestID ¶
func (o *JobTerminateParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job terminate params
func (*JobTerminateParams) SetTimeout ¶
func (o *JobTerminateParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job terminate params
func (*JobTerminateParams) WithAPIVersion ¶
func (o *JobTerminateParams) WithAPIVersion(aPIVersion string) *JobTerminateParams
WithAPIVersion adds the aPIVersion to the job terminate params
func (*JobTerminateParams) WithClientRequestID ¶
func (o *JobTerminateParams) WithClientRequestID(clientRequestID *string) *JobTerminateParams
WithClientRequestID adds the clientRequestID to the job terminate params
func (*JobTerminateParams) WithContext ¶
func (o *JobTerminateParams) WithContext(ctx context.Context) *JobTerminateParams
WithContext adds the context to the job terminate params
func (*JobTerminateParams) WithIfMatch ¶
func (o *JobTerminateParams) WithIfMatch(ifMatch *string) *JobTerminateParams
WithIfMatch adds the ifMatch to the job terminate params
func (*JobTerminateParams) WithIfModifiedSince ¶
func (o *JobTerminateParams) WithIfModifiedSince(ifModifiedSince *string) *JobTerminateParams
WithIfModifiedSince adds the ifModifiedSince to the job terminate params
func (*JobTerminateParams) WithIfNoneMatch ¶
func (o *JobTerminateParams) WithIfNoneMatch(ifNoneMatch *string) *JobTerminateParams
WithIfNoneMatch adds the ifNoneMatch to the job terminate params
func (*JobTerminateParams) WithIfUnmodifiedSince ¶
func (o *JobTerminateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobTerminateParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job terminate params
func (*JobTerminateParams) WithJobID ¶
func (o *JobTerminateParams) WithJobID(jobID string) *JobTerminateParams
WithJobID adds the jobID to the job terminate params
func (*JobTerminateParams) WithJobTerminateParameter ¶
func (o *JobTerminateParams) WithJobTerminateParameter(jobTerminateParameter *models.JobTerminateParameter) *JobTerminateParams
WithJobTerminateParameter adds the jobTerminateParameter to the job terminate params
func (*JobTerminateParams) WithOcpDate ¶
func (o *JobTerminateParams) WithOcpDate(ocpDate *string) *JobTerminateParams
WithOcpDate adds the ocpDate to the job terminate params
func (*JobTerminateParams) WithRequestTimeout ¶
func (o *JobTerminateParams) WithRequestTimeout(timeout time.Duration) *JobTerminateParams
WithRequestTimeout adds the timeout to the job terminate params
func (*JobTerminateParams) WithReturnClientRequestID ¶
func (o *JobTerminateParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobTerminateParams
WithReturnClientRequestID adds the returnClientRequestID to the job terminate params
func (*JobTerminateParams) WithTimeout ¶
func (o *JobTerminateParams) WithTimeout(timeout *int32) *JobTerminateParams
WithTimeout adds the timeout to the job terminate params
func (*JobTerminateParams) WriteToRequest ¶
func (o *JobTerminateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobTerminateReader ¶
type JobTerminateReader struct {
// contains filtered or unexported fields
}
JobTerminateReader is a Reader for the JobTerminate structure.
func (*JobTerminateReader) ReadResponse ¶
func (o *JobTerminateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JobUpdateDefault ¶
type JobUpdateDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
JobUpdateDefault handles this case with default header values.
The error from the Batch service.
func NewJobUpdateDefault ¶
func NewJobUpdateDefault(code int) *JobUpdateDefault
NewJobUpdateDefault creates a JobUpdateDefault with default headers values
func (*JobUpdateDefault) Code ¶
func (o *JobUpdateDefault) Code() int
Code gets the status code for the job update default response
func (*JobUpdateDefault) Error ¶
func (o *JobUpdateDefault) Error() string
type JobUpdateOK ¶
type JobUpdateOK struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
JobUpdateOK handles this case with default header values.
The request to the Batch service was successful.
func NewJobUpdateOK ¶
func NewJobUpdateOK() *JobUpdateOK
NewJobUpdateOK creates a JobUpdateOK with default headers values
func (*JobUpdateOK) Error ¶
func (o *JobUpdateOK) Error() string
type JobUpdateParams ¶
type JobUpdateParams struct { /*IfMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified. */ IfMatch *string /*IfModifiedSince Specify this header to perform the operation only if the resource has been modified since the specified date/time. */ IfModifiedSince *string /*IfNoneMatch An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag. */ IfNoneMatch *string /*IfUnmodifiedSince Specify this header to perform the operation only if the resource has not been modified since the specified date/time. */ IfUnmodifiedSince *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*JobID The ID of the job whose properties you want to update. */ JobID string /*JobUpdateParameter The parameters for the request. */ JobUpdateParameter *models.JobUpdateParameter /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JobUpdateParams contains all the parameters to send to the API endpoint for the job update operation typically these are written to a http.Request
func NewJobUpdateParams ¶
func NewJobUpdateParams() *JobUpdateParams
NewJobUpdateParams creates a new JobUpdateParams object with the default values initialized.
func NewJobUpdateParamsWithContext ¶
func NewJobUpdateParamsWithContext(ctx context.Context) *JobUpdateParams
NewJobUpdateParamsWithContext creates a new JobUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewJobUpdateParamsWithTimeout ¶
func NewJobUpdateParamsWithTimeout(timeout time.Duration) *JobUpdateParams
NewJobUpdateParamsWithTimeout creates a new JobUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*JobUpdateParams) SetAPIVersion ¶
func (o *JobUpdateParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the job update params
func (*JobUpdateParams) SetClientRequestID ¶
func (o *JobUpdateParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the job update params
func (*JobUpdateParams) SetContext ¶
func (o *JobUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the job update params
func (*JobUpdateParams) SetIfMatch ¶
func (o *JobUpdateParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the job update params
func (*JobUpdateParams) SetIfModifiedSince ¶
func (o *JobUpdateParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the job update params
func (*JobUpdateParams) SetIfNoneMatch ¶
func (o *JobUpdateParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the job update params
func (*JobUpdateParams) SetIfUnmodifiedSince ¶
func (o *JobUpdateParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the job update params
func (*JobUpdateParams) SetJobID ¶
func (o *JobUpdateParams) SetJobID(jobID string)
SetJobID adds the jobId to the job update params
func (*JobUpdateParams) SetJobUpdateParameter ¶
func (o *JobUpdateParams) SetJobUpdateParameter(jobUpdateParameter *models.JobUpdateParameter)
SetJobUpdateParameter adds the jobUpdateParameter to the job update params
func (*JobUpdateParams) SetOcpDate ¶
func (o *JobUpdateParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the job update params
func (*JobUpdateParams) SetRequestTimeout ¶
func (o *JobUpdateParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the job update params
func (*JobUpdateParams) SetReturnClientRequestID ¶
func (o *JobUpdateParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the job update params
func (*JobUpdateParams) SetTimeout ¶
func (o *JobUpdateParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the job update params
func (*JobUpdateParams) WithAPIVersion ¶
func (o *JobUpdateParams) WithAPIVersion(aPIVersion string) *JobUpdateParams
WithAPIVersion adds the aPIVersion to the job update params
func (*JobUpdateParams) WithClientRequestID ¶
func (o *JobUpdateParams) WithClientRequestID(clientRequestID *string) *JobUpdateParams
WithClientRequestID adds the clientRequestID to the job update params
func (*JobUpdateParams) WithContext ¶
func (o *JobUpdateParams) WithContext(ctx context.Context) *JobUpdateParams
WithContext adds the context to the job update params
func (*JobUpdateParams) WithIfMatch ¶
func (o *JobUpdateParams) WithIfMatch(ifMatch *string) *JobUpdateParams
WithIfMatch adds the ifMatch to the job update params
func (*JobUpdateParams) WithIfModifiedSince ¶
func (o *JobUpdateParams) WithIfModifiedSince(ifModifiedSince *string) *JobUpdateParams
WithIfModifiedSince adds the ifModifiedSince to the job update params
func (*JobUpdateParams) WithIfNoneMatch ¶
func (o *JobUpdateParams) WithIfNoneMatch(ifNoneMatch *string) *JobUpdateParams
WithIfNoneMatch adds the ifNoneMatch to the job update params
func (*JobUpdateParams) WithIfUnmodifiedSince ¶
func (o *JobUpdateParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *JobUpdateParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the job update params
func (*JobUpdateParams) WithJobID ¶
func (o *JobUpdateParams) WithJobID(jobID string) *JobUpdateParams
WithJobID adds the jobID to the job update params
func (*JobUpdateParams) WithJobUpdateParameter ¶
func (o *JobUpdateParams) WithJobUpdateParameter(jobUpdateParameter *models.JobUpdateParameter) *JobUpdateParams
WithJobUpdateParameter adds the jobUpdateParameter to the job update params
func (*JobUpdateParams) WithOcpDate ¶
func (o *JobUpdateParams) WithOcpDate(ocpDate *string) *JobUpdateParams
WithOcpDate adds the ocpDate to the job update params
func (*JobUpdateParams) WithRequestTimeout ¶
func (o *JobUpdateParams) WithRequestTimeout(timeout time.Duration) *JobUpdateParams
WithRequestTimeout adds the timeout to the job update params
func (*JobUpdateParams) WithReturnClientRequestID ¶
func (o *JobUpdateParams) WithReturnClientRequestID(returnClientRequestID *bool) *JobUpdateParams
WithReturnClientRequestID adds the returnClientRequestID to the job update params
func (*JobUpdateParams) WithTimeout ¶
func (o *JobUpdateParams) WithTimeout(timeout *int32) *JobUpdateParams
WithTimeout adds the timeout to the job update params
func (*JobUpdateParams) WriteToRequest ¶
func (o *JobUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JobUpdateReader ¶
type JobUpdateReader struct {
// contains filtered or unexported fields
}
JobUpdateReader is a Reader for the JobUpdate structure.
func (*JobUpdateReader) ReadResponse ¶
func (o *JobUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- job_add_parameters.go
- job_add_responses.go
- job_delete_parameters.go
- job_delete_responses.go
- job_disable_parameters.go
- job_disable_responses.go
- job_enable_parameters.go
- job_enable_responses.go
- job_get_all_jobs_lifetime_statistics_parameters.go
- job_get_all_jobs_lifetime_statistics_responses.go
- job_get_parameters.go
- job_get_responses.go
- job_list_from_job_schedule_parameters.go
- job_list_from_job_schedule_responses.go
- job_list_parameters.go
- job_list_preparation_and_release_task_status_parameters.go
- job_list_preparation_and_release_task_status_responses.go
- job_list_responses.go
- job_patch_parameters.go
- job_patch_responses.go
- job_terminate_parameters.go
- job_terminate_responses.go
- job_update_parameters.go
- job_update_responses.go
- jobs_client.go