client

package
v1.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

README

Go API client for client

Provides management and visibility for APEX Orchestration Platform Jobs

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import client "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value client.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value client.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using client.ContextOperationServerIndices and client.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), client.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), client.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://localhost:8080

Class Method HTTP request Description
JobsAPI JobsCancel Post /rest/v1/jobs/{id}/cancel Cancel
JobsAPI JobsCollection Get /rest/v1/jobs Collection Query
JobsAPI JobsInstance Get /rest/v1/jobs/{id} Instance Query
JobsAPI JobsPause Post /rest/v1/jobs/{id}/pause Pause
JobsAPI JobsResume Post /rest/v1/jobs/{id}/resume Resume

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

apex.mars@dell.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedHTTPStatusEnumEnumValues = []HTTPStatusEnum{
	200,
	201,
	202,
	204,
	206,
	299,
	400,
	401,
	403,
	404,
	422,
	429,
	500,
	503,
}

All allowed values of HTTPStatusEnum enum

View Source
var AllowedJobStateEnumEnumValues = []JobStateEnum{
	"SCHEDULED",
	"QUEUED",
	"RUNNING",
	"PAUSING",
	"PAUSED",
	"RESUMING",
	"CANCELLING",
	"CANCELLED",
	"SUCCEEDED",
	"COMPLETED_WITH_MESSAGES",
	"FAILED",
}

All allowed values of JobStateEnum enum

View Source
var AllowedResourceActionEnumEnumValues = []ResourceActionEnum{
	"OTHER_ACTION",
	"create",
	"modify",
	"delete",
	"pause",
	"resume",
	"cancel",
	"login",
	"logout",
	"generate-csr",
	"generate-csr-pkcs10",
	"query",
	"report-failed-messages",
	"test",
	"resend",
	"challenge-proof-of-possession",
	"configure",
	"extend-trial",
	"check-for-entitlements",
	"send-test-alert",
	"install",
	"check-for-updates",
	"pre-upgrade-health-check",
	"download",
	"generate-trust-policy",
	"refresh",
	"unmap",
	"map",
	"copy",
	"initialize-trust",
	"activate",
}

All allowed values of ResourceActionEnum enum

View Source
var AllowedResourceTypeEnumEnumValues = []ResourceTypeEnum{
	"OTHER_RESOURCE",
	"alerts",
	"audit-events",
	"basic-system-info",
	"cert-role-mappings",
	"cert-local-account-mappings",
	"dns-config",
	"events",
	"federated-elements",
	"initial-config",
	"jobs",
	"kmip-services",
	"ldaps",
	"ldap-role-mappings",
	"licenses",
	"licenses-config",
	"local-accounts",
	"local-accounts-config",
	"login",
	"metric-metadata",
	"metrics",
	"mfa-cacpivs",
	"mfa-securids",
	"oauth2-services",
	"oidc-services",
	"resource-tags",
	"roles",
	"saml-services",
	"scv",
	"security-config",
	"smtp-services",
	"smtp-email-subscriptions",
	"snmp-services",
	"snmp-trap-subscriptions",
	"software-packages",
	"support-connectivity-config",
	"support-customer-contacts",
	"support-materials",
	"syslogs",
	"syslog-subscriptions",
	"tags",
	"time-config",
	"webhook-targets",
	"webhook-subscriptions",
	"webhook-messages",
	"x509-certificates",
	"aws-accounts",
	"aws-permission-policies",
	"storage-products",
	"storage-product-options",
	"mobility-targets",
	"mobility-groups",
	"clones",
	"storage-system-tokens",
	"storage-systems",
}

All allowed values of ResourceTypeEnum enum

View Source
var AllowedSeverityEnumEnumValues = []SeverityEnum{
	"INFO",
	"WARNING",
	"ERROR",
	"CRITICAL",
}

All allowed values of SeverityEnum enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	JobsAPI *JobsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the APEX Orchestration Platform - Job Management System (JMS) API API vIGNORED - see resource tag's x-api-version for the specific version of this resource. In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiJobsCancelRequest

type ApiJobsCancelRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsCancelRequest) Execute

type ApiJobsCollectionRequest

type ApiJobsCollectionRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsCollectionRequest) Execute

func (ApiJobsCollectionRequest) Filter

Filter the jobs based on provided query. Format: (state in (RUNNING,FAILED)) and (text like \"provision\") and (affectedResourceEntities.actionType eq type)

func (ApiJobsCollectionRequest) Limit

The limit on the number of items returned per page

func (ApiJobsCollectionRequest) Offset

The zero based index of the first item in the page of results

func (ApiJobsCollectionRequest) Order

Sort the jobs based on the specified parameter and order the jobs in ascending or descending order

type ApiJobsInstanceRequest

type ApiJobsInstanceRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsInstanceRequest) Execute

type ApiJobsPauseRequest

type ApiJobsPauseRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsPauseRequest) Execute

type ApiJobsResumeRequest

type ApiJobsResumeRequest struct {
	ApiService *JobsAPIService
	// contains filtered or unexported fields
}

func (ApiJobsResumeRequest) Execute

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ErrorMessage

type ErrorMessage struct {
	Severity *SeverityEnum `json:"severity,omitempty"`
	// Identifier for this kind of message. This is a string that can be used to look up  additional information on the support website. (Note - specific format can be determined  by platform - hex value codes are common in midrange storage.)
	Code *string `json:"code,omitempty"`
	// Message string in English.
	Message *string `json:"message,omitempty"`
	// The time at which the error occurred.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// Localized message string.
	MessageL10n *string `json:"message_l10n,omitempty"`
	// Ordered list of substitution args for the error message. Must match up with  the {0}, {1}, etc... actually in the message referenced by the message code  above, if any.
	Arguments []string `json:"arguments,omitempty"`
}

ErrorMessage A message describing the failure, a contributing factor to the failure, or possibly the aftermath of the failure.

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

NewErrorMessage instantiates a new ErrorMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

NewErrorMessageWithDefaults instantiates a new ErrorMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorMessage) GetArguments

func (o *ErrorMessage) GetArguments() []string

GetArguments returns the Arguments field value if set, zero value otherwise.

func (*ErrorMessage) GetArgumentsOk

func (o *ErrorMessage) GetArgumentsOk() ([]string, bool)

GetArgumentsOk returns a tuple with the Arguments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) GetCode

func (o *ErrorMessage) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ErrorMessage) GetCodeOk

func (o *ErrorMessage) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorMessage) GetMessageL10n

func (o *ErrorMessage) GetMessageL10n() string

GetMessageL10n returns the MessageL10n field value if set, zero value otherwise.

func (*ErrorMessage) GetMessageL10nOk

func (o *ErrorMessage) GetMessageL10nOk() (*string, bool)

GetMessageL10nOk returns a tuple with the MessageL10n field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) GetMessageOk

func (o *ErrorMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) GetSeverity

func (o *ErrorMessage) GetSeverity() SeverityEnum

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*ErrorMessage) GetSeverityOk

func (o *ErrorMessage) GetSeverityOk() (*SeverityEnum, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) GetTimestamp

func (o *ErrorMessage) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ErrorMessage) GetTimestampOk

func (o *ErrorMessage) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) HasArguments

func (o *ErrorMessage) HasArguments() bool

HasArguments returns a boolean if a field has been set.

func (*ErrorMessage) HasCode

func (o *ErrorMessage) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorMessage) HasMessageL10n

func (o *ErrorMessage) HasMessageL10n() bool

HasMessageL10n returns a boolean if a field has been set.

func (*ErrorMessage) HasSeverity

func (o *ErrorMessage) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*ErrorMessage) HasTimestamp

func (o *ErrorMessage) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (ErrorMessage) MarshalJSON

func (o ErrorMessage) MarshalJSON() ([]byte, error)

func (*ErrorMessage) SetArguments

func (o *ErrorMessage) SetArguments(v []string)

SetArguments gets a reference to the given []string and assigns it to the Arguments field.

func (*ErrorMessage) SetCode

func (o *ErrorMessage) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ErrorMessage) SetMessageL10n

func (o *ErrorMessage) SetMessageL10n(v string)

SetMessageL10n gets a reference to the given string and assigns it to the MessageL10n field.

func (*ErrorMessage) SetSeverity

func (o *ErrorMessage) SetSeverity(v SeverityEnum)

SetSeverity gets a reference to the given SeverityEnum and assigns it to the Severity field.

func (*ErrorMessage) SetTimestamp

func (o *ErrorMessage) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (ErrorMessage) ToMap

func (o ErrorMessage) ToMap() (map[string]interface{}, error)

type ErrorResponse

type ErrorResponse struct {
	HttpStatusCode *HTTPStatusEnum `json:"http_status_code,omitempty"`
	// A list of messages describing the failure encountered by this request. At least  one will be of Error severity because Info and Warning conditions do not cause  the request to fail.
	Messages []ErrorMessage `json:"messages,omitempty"`
}

ErrorResponse A standard response body used for all non-2xx REST responses.

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorResponse) GetHttpStatusCode

func (o *ErrorResponse) GetHttpStatusCode() HTTPStatusEnum

GetHttpStatusCode returns the HttpStatusCode field value if set, zero value otherwise.

func (*ErrorResponse) GetHttpStatusCodeOk

func (o *ErrorResponse) GetHttpStatusCodeOk() (*HTTPStatusEnum, bool)

GetHttpStatusCodeOk returns a tuple with the HttpStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorResponse) GetMessages

func (o *ErrorResponse) GetMessages() []ErrorMessage

GetMessages returns the Messages field value if set, zero value otherwise.

func (*ErrorResponse) GetMessagesOk

func (o *ErrorResponse) GetMessagesOk() ([]ErrorMessage, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorResponse) HasHttpStatusCode

func (o *ErrorResponse) HasHttpStatusCode() bool

HasHttpStatusCode returns a boolean if a field has been set.

func (*ErrorResponse) HasMessages

func (o *ErrorResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

func (o ErrorResponse) MarshalJSON() ([]byte, error)

func (*ErrorResponse) SetHttpStatusCode

func (o *ErrorResponse) SetHttpStatusCode(v HTTPStatusEnum)

SetHttpStatusCode gets a reference to the given HTTPStatusEnum and assigns it to the HttpStatusCode field.

func (*ErrorResponse) SetMessages

func (o *ErrorResponse) SetMessages(v []ErrorMessage)

SetMessages gets a reference to the given []ErrorMessage and assigns it to the Messages field.

func (ErrorResponse) ToMap

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HTTPStatusEnum

type HTTPStatusEnum int32

HTTPStatusEnum Possible HTTP status values of completed or failed jobs. * 200 - OK - Successful completion, with a response body. * 201 - Created - Successful completion of a create request (POST to collection resource). * 202 - Accepted - Job has been started. Response body is a job resource instance. Response status and body are available from job when it completes. * 204 - No Content - Successful completion, without a response body. * 206 - Partial Content - Paged response to a collection query. * 299 - Completed with Messages - Core request completed but has messages for client. Ancillary portions of request may have failed. Few requests should be able to return this, as the intent is for requests to be atomic - to either succeed or roll back on failure. * 400 - Invalid Request - The request is incorrect. To the extent possible, validate requests up front and use this code. Details in the response body. * 401 - Unauthorized - The request cannot be authenticated. * 403 - Forbidden - The request is not allowed for this client. * 404 - Not Found - The id value in the request URL is not valid. * 422 - Operation Failed - The request failed during execution. * 429 - Too Many Requests - This particular client needs to slow down and take it easy. Retry after a delay. * 500 - Internal Error - This means the product has a bug and customer should contact support. * 503 - Service Unavailable - The service is temporarily unavailable. Try again later.

const (
	HTTPSTATUSENUM__200 HTTPStatusEnum = 200
	HTTPSTATUSENUM__201 HTTPStatusEnum = 201
	HTTPSTATUSENUM__202 HTTPStatusEnum = 202
	HTTPSTATUSENUM__204 HTTPStatusEnum = 204
	HTTPSTATUSENUM__206 HTTPStatusEnum = 206
	HTTPSTATUSENUM__299 HTTPStatusEnum = 299
	HTTPSTATUSENUM__400 HTTPStatusEnum = 400
	HTTPSTATUSENUM__401 HTTPStatusEnum = 401
	HTTPSTATUSENUM__403 HTTPStatusEnum = 403
	HTTPSTATUSENUM__404 HTTPStatusEnum = 404
	HTTPSTATUSENUM__422 HTTPStatusEnum = 422
	HTTPSTATUSENUM__429 HTTPStatusEnum = 429
	HTTPSTATUSENUM__500 HTTPStatusEnum = 500
	HTTPSTATUSENUM__503 HTTPStatusEnum = 503
)

List of HTTPStatusEnum

func NewHTTPStatusEnumFromValue

func NewHTTPStatusEnumFromValue(v int32) (*HTTPStatusEnum, error)

NewHTTPStatusEnumFromValue returns a pointer to a valid HTTPStatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (HTTPStatusEnum) IsValid

func (v HTTPStatusEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (HTTPStatusEnum) Ptr

func (v HTTPStatusEnum) Ptr() *HTTPStatusEnum

Ptr returns reference to HTTPStatusEnum value

func (*HTTPStatusEnum) UnmarshalJSON

func (v *HTTPStatusEnum) UnmarshalJSON(src []byte) error

type JobStateEnum

type JobStateEnum string

JobStateEnum Current status of the job. * SCHEDULED - Waiting for start time. * QUEUED - Job is ready to run but waiting because too many other jobs are already running. * RUNNING - Job is in progress. * PAUSING - Job is attempting to pause. * PAUSED - Job is paused. * RESUMING - Job is attempting to resume. * CANCELLING - Job is attempting to cancel. * CANCELLED - Job is cancelled. * SUCCEEDED - Job has successfully completed. Status must be 200, 201, or 204. * COMPLETED_WITH_MESSAGES - Job has completed, but with only partial success. The status will be 299, and the response body will be the standard ErrorResponse, extended as necessary fo any other response data (such as the created instance in the case of a create operation in COMPLETED_WITH_MESSAGES state). * FAILED - Job has failed, and rolled back any configuration changes if possible. Status will be 4xx or 5xx.

const (
	JOBSTATEENUM_SCHEDULED               JobStateEnum = "SCHEDULED"
	JOBSTATEENUM_QUEUED                  JobStateEnum = "QUEUED"
	JOBSTATEENUM_RUNNING                 JobStateEnum = "RUNNING"
	JOBSTATEENUM_PAUSING                 JobStateEnum = "PAUSING"
	JOBSTATEENUM_PAUSED                  JobStateEnum = "PAUSED"
	JOBSTATEENUM_RESUMING                JobStateEnum = "RESUMING"
	JOBSTATEENUM_CANCELLING              JobStateEnum = "CANCELLING"
	JOBSTATEENUM_CANCELLED               JobStateEnum = "CANCELLED"
	JOBSTATEENUM_SUCCEEDED               JobStateEnum = "SUCCEEDED"
	JOBSTATEENUM_COMPLETED_WITH_MESSAGES JobStateEnum = "COMPLETED_WITH_MESSAGES"
	JOBSTATEENUM_FAILED                  JobStateEnum = "FAILED"
)

List of JobStateEnum

func NewJobStateEnumFromValue

func NewJobStateEnumFromValue(v string) (*JobStateEnum, error)

NewJobStateEnumFromValue returns a pointer to a valid JobStateEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (JobStateEnum) IsValid

func (v JobStateEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (JobStateEnum) Ptr

func (v JobStateEnum) Ptr() *JobStateEnum

Ptr returns reference to JobStateEnum value

func (*JobStateEnum) UnmarshalJSON

func (v *JobStateEnum) UnmarshalJSON(src []byte) error

type JobsAPIService

type JobsAPIService service

JobsAPIService JobsAPI service

func (*JobsAPIService) JobsCancel

func (a *JobsAPIService) JobsCancel(ctx context.Context, id string) ApiJobsCancelRequest

JobsCancel Cancel

Cancel a job. This stops and rolls back execution of a job in the SCHEDULED, QUEUED, or RUNNING states. Cancel must be treated as an execution error by the affected job, resulting (after any necessary rollback) with the job in FAILED state with a message saying it was cancelled. As with any FAILED job, it could have additional messages enumerating any rollback errors or side effects that weren't rolled back. The cancel itself may not be cancelled. Only some kinds of resource actions will normally support cancellation. For example, anything that cannot roll back such as a delete, should not be cancellable, at least not once execution has passed the point where undo is feasible. If cancel is not supported, the cancel request will fail and the affected job will continue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiJobsCancelRequest

func (*JobsAPIService) JobsCancelExecute

func (a *JobsAPIService) JobsCancelExecute(r ApiJobsCancelRequest) (*JobsInstance, *http.Response, error)

Execute executes the request

@return JobsInstance

func (*JobsAPIService) JobsCollection

func (a *JobsAPIService) JobsCollection(ctx context.Context) ApiJobsCollectionRequest

JobsCollection Collection Query

Query jobs.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiJobsCollectionRequest

func (*JobsAPIService) JobsCollectionExecute

func (a *JobsAPIService) JobsCollectionExecute(r ApiJobsCollectionRequest) (*JobsCollection, *http.Response, error)

Execute executes the request

@return JobsCollection

func (*JobsAPIService) JobsInstance

func (a *JobsAPIService) JobsInstance(ctx context.Context, id string) ApiJobsInstanceRequest

JobsInstance Instance Query

Get the specified job instance information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Unique identifier of the jobs instance.
@return ApiJobsInstanceRequest

func (*JobsAPIService) JobsInstanceExecute

func (a *JobsAPIService) JobsInstanceExecute(r ApiJobsInstanceRequest) (*JobsInstance, *http.Response, error)

Execute executes the request

@return JobsInstance

func (*JobsAPIService) JobsPause

JobsPause Pause

Pause a job. This suspends execution of a job in the QUEUED or RUNNING state until the resume operation is used. The pause_message property will be empty when this explicit pause is called. When the system pauses a job the pause_message will be set to describe what needs to be done before resuming the job. If the job cannot be resumed after a system pause, the message should say to cancel the job and resubmit a corrected request if desired.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiJobsPauseRequest

func (*JobsAPIService) JobsPauseExecute

func (a *JobsAPIService) JobsPauseExecute(r ApiJobsPauseRequest) (*JobsInstance, *http.Response, error)

Execute executes the request

@return JobsInstance

func (*JobsAPIService) JobsResume

func (a *JobsAPIService) JobsResume(ctx context.Context, id string) ApiJobsResumeRequest

JobsResume Resume

Resume a job. This continues execution of a job in the PAUSED state.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id
@return ApiJobsResumeRequest

func (*JobsAPIService) JobsResumeExecute

func (a *JobsAPIService) JobsResumeExecute(r ApiJobsResumeRequest) (*JobsInstance, *http.Response, error)

Execute executes the request

@return JobsInstance

type JobsCollection

type JobsCollection struct {
	Results []JobsInstance `json:"results,omitempty"`
}

JobsCollection The collection of jobs

func NewJobsCollection

func NewJobsCollection() *JobsCollection

NewJobsCollection instantiates a new JobsCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobsCollectionWithDefaults

func NewJobsCollectionWithDefaults() *JobsCollection

NewJobsCollectionWithDefaults instantiates a new JobsCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobsCollection) GetResults

func (o *JobsCollection) GetResults() []JobsInstance

GetResults returns the Results field value if set, zero value otherwise.

func (*JobsCollection) GetResultsOk

func (o *JobsCollection) GetResultsOk() ([]JobsInstance, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsCollection) HasResults

func (o *JobsCollection) HasResults() bool

HasResults returns a boolean if a field has been set.

func (JobsCollection) MarshalJSON

func (o JobsCollection) MarshalJSON() ([]byte, error)

func (*JobsCollection) SetResults

func (o *JobsCollection) SetResults(v []JobsInstance)

SetResults gets a reference to the given []JobsInstance and assigns it to the Results field.

func (JobsCollection) ToMap

func (o JobsCollection) ToMap() (map[string]interface{}, error)

type JobsInstance

type JobsInstance struct {
	// Unique identifier of the job.
	Id *string `json:"id,omitempty"`
	// Name of the job, if not provided it will default to <resource_type>.<resource_action>.
	Name           *string             `json:"name,omitempty"`
	Resource       *ResourceRef        `json:"resource,omitempty"`
	ResourceAction *ResourceActionEnum `json:"resource_action,omitempty"`
	// When resource_action==OTHER_ACTION, this value should be a single token that names a product  specific action. This should _only_ be used for resource types of OTHER_RESOURCE,  representing native APIs outside of the /dtapi REST namespace.
	ResourceActionOtherName *string `json:"resource_action_other_name,omitempty"`
	// Description of the job.
	DescriptionL10n *string       `json:"description_l10n,omitempty"`
	State           *JobStateEnum `json:"state,omitempty"`
	// Whether or not the pause operation is possible on this job.
	IsPausable *bool `json:"is_pausable,omitempty"`
	// Whether or not the cancel operation is possible on this job.
	IsCancellable *bool `json:"is_cancellable,omitempty"`
	// Date and time when the job was instantiated, whether due to an external request or other reason.
	CreateTime *time.Time `json:"create_time,omitempty"`
	// Date and time when the job execution started.
	StartTime *time.Time `json:"start_time,omitempty"`
	// Date and time when the job execution completed, if succeeded, completed, or failed.
	EndTime *time.Time `json:"end_time,omitempty"`
	// Date and time when the job should start.
	RequestedStartTime *time.Time `json:"requested_start_time,omitempty"`
	// Date and time past which job execution should not be allowed to continue. If the job is  cancellable then it will be cancelled if it has not completed by this tme. Since not all  jobs can be cancelled, a job could run past the requested_end_time.
	RequestedEndTime *time.Time `json:"requested_end_time,omitempty"`
	// Estimated completion date and time, if not completed or failed.
	EstimatedCompletionTime *time.Time `json:"estimated_completion_time,omitempty"`
	// Approximate percent complete of the job. This may be percentage relative to number of required operations and not reflect time
	Progress *int32 `json:"progress,omitempty"`
	// Unique identifier of the parent job, if applicable.
	ParentId *string `json:"parent_id,omitempty"`
	// List of child jobs. This list can be _either_ a list of other job resource instances whose parent_id is this job, _or_ a list of jobs without id values, that are  queriable only as children of this job, but not a mix of both types.
	Children []JobsInstance `json:"children,omitempty"`
	// Unique identifier of the root job, if applicable.  The root job is the job at the top of the parent hierarchy.
	RootId *string `json:"root_id,omitempty"`
	// List of jobs in this family. A job family is all the jobs sharing the same root_id. Only the root job (the one with the root_id) has this property.
	FamilyIds []string `json:"family_ids,omitempty"`
	// Unique id of the administrative user responsible for the job.
	UserId  *string         `json:"user_id,omitempty"`
	Request *RequestContent `json:"request,omitempty"`
	// Name of the OpenAPI object definition in the request property above. Normally will be called  <ResourceType><ResourceAction>, such as JobDelete or X509CertificateGenerateCSR.
	RequestDefinitionName *string          `json:"request_definition_name,omitempty"`
	Response              *ResponseContent `json:"response,omitempty"`
	// Name of the OpenAPI object definition in the response property above. Normally will be called  <ResourceType><ResourceAction>Response, such as X509CertificateGenerateCSRResponse for 200 status responses. Null for 204 status. ErrorResponse for 4xx/5xx responses.
	ResponseDefinitionName *string         `json:"response_definition_name,omitempty"`
	ResponseStatus         *HTTPStatusEnum `json:"response_status,omitempty"`
	// IP address from which the job request originated, if external to the system.
	ClientAddress *string `json:"client_address,omitempty"`
	// Start order of a given job step with respect to its siblings within the job hierarchy. Even jobs run concurrently will start in some specific order.
	StepOrder *int32 `json:"step_order,omitempty"`
	// Indicates whether a command is internal or visible to the end user.
	IsInternal   *bool         `json:"is_internal,omitempty"`
	PauseMessage *ErrorMessage `json:"pause_message,omitempty"`
	// Opaque value that may be set by request originator. It is persisted with the job and may be used for:  * Filtering a job query to find an async job (whether intentional or an unintentional disconnect).  * To retry a request. If a request is made with a duplicate correlationId value, then the system must    return the result of the initial invocation with that correlationId, waiting for that initial job to    finish if necessary. This does not apply when a completed or failed jobs has already expired and    been deleted. * The platform _should_ log this value anywhere log entries occur during the execution of the request.
	CorrelationId *string `json:"correlation_id,omitempty"`
}

JobsInstance Information about a job.

func NewJobsInstance

func NewJobsInstance() *JobsInstance

NewJobsInstance instantiates a new JobsInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobsInstanceWithDefaults

func NewJobsInstanceWithDefaults() *JobsInstance

NewJobsInstanceWithDefaults instantiates a new JobsInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobsInstance) GetChildren

func (o *JobsInstance) GetChildren() []JobsInstance

GetChildren returns the Children field value if set, zero value otherwise.

func (*JobsInstance) GetChildrenOk

func (o *JobsInstance) GetChildrenOk() ([]JobsInstance, bool)

GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetClientAddress

func (o *JobsInstance) GetClientAddress() string

GetClientAddress returns the ClientAddress field value if set, zero value otherwise.

func (*JobsInstance) GetClientAddressOk

func (o *JobsInstance) GetClientAddressOk() (*string, bool)

GetClientAddressOk returns a tuple with the ClientAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetCorrelationId

func (o *JobsInstance) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value if set, zero value otherwise.

func (*JobsInstance) GetCorrelationIdOk

func (o *JobsInstance) GetCorrelationIdOk() (*string, bool)

GetCorrelationIdOk returns a tuple with the CorrelationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetCreateTime

func (o *JobsInstance) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value if set, zero value otherwise.

func (*JobsInstance) GetCreateTimeOk

func (o *JobsInstance) GetCreateTimeOk() (*time.Time, bool)

GetCreateTimeOk returns a tuple with the CreateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetDescriptionL10n

func (o *JobsInstance) GetDescriptionL10n() string

GetDescriptionL10n returns the DescriptionL10n field value if set, zero value otherwise.

func (*JobsInstance) GetDescriptionL10nOk

func (o *JobsInstance) GetDescriptionL10nOk() (*string, bool)

GetDescriptionL10nOk returns a tuple with the DescriptionL10n field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetEndTime

func (o *JobsInstance) GetEndTime() time.Time

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*JobsInstance) GetEndTimeOk

func (o *JobsInstance) GetEndTimeOk() (*time.Time, bool)

GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetEstimatedCompletionTime

func (o *JobsInstance) GetEstimatedCompletionTime() time.Time

GetEstimatedCompletionTime returns the EstimatedCompletionTime field value if set, zero value otherwise.

func (*JobsInstance) GetEstimatedCompletionTimeOk

func (o *JobsInstance) GetEstimatedCompletionTimeOk() (*time.Time, bool)

GetEstimatedCompletionTimeOk returns a tuple with the EstimatedCompletionTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetFamilyIds

func (o *JobsInstance) GetFamilyIds() []string

GetFamilyIds returns the FamilyIds field value if set, zero value otherwise.

func (*JobsInstance) GetFamilyIdsOk

func (o *JobsInstance) GetFamilyIdsOk() ([]string, bool)

GetFamilyIdsOk returns a tuple with the FamilyIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetId

func (o *JobsInstance) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobsInstance) GetIdOk

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

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetIsCancellable

func (o *JobsInstance) GetIsCancellable() bool

GetIsCancellable returns the IsCancellable field value if set, zero value otherwise.

func (*JobsInstance) GetIsCancellableOk

func (o *JobsInstance) GetIsCancellableOk() (*bool, bool)

GetIsCancellableOk returns a tuple with the IsCancellable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetIsInternal

func (o *JobsInstance) GetIsInternal() bool

GetIsInternal returns the IsInternal field value if set, zero value otherwise.

func (*JobsInstance) GetIsInternalOk

func (o *JobsInstance) GetIsInternalOk() (*bool, bool)

GetIsInternalOk returns a tuple with the IsInternal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetIsPausable

func (o *JobsInstance) GetIsPausable() bool

GetIsPausable returns the IsPausable field value if set, zero value otherwise.

func (*JobsInstance) GetIsPausableOk

func (o *JobsInstance) GetIsPausableOk() (*bool, bool)

GetIsPausableOk returns a tuple with the IsPausable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetName

func (o *JobsInstance) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobsInstance) GetNameOk

func (o *JobsInstance) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetParentId

func (o *JobsInstance) GetParentId() string

GetParentId returns the ParentId field value if set, zero value otherwise.

func (*JobsInstance) GetParentIdOk

func (o *JobsInstance) GetParentIdOk() (*string, bool)

GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetPauseMessage

func (o *JobsInstance) GetPauseMessage() ErrorMessage

GetPauseMessage returns the PauseMessage field value if set, zero value otherwise.

func (*JobsInstance) GetPauseMessageOk

func (o *JobsInstance) GetPauseMessageOk() (*ErrorMessage, bool)

GetPauseMessageOk returns a tuple with the PauseMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetProgress

func (o *JobsInstance) GetProgress() int32

GetProgress returns the Progress field value if set, zero value otherwise.

func (*JobsInstance) GetProgressOk

func (o *JobsInstance) GetProgressOk() (*int32, bool)

GetProgressOk returns a tuple with the Progress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetRequest

func (o *JobsInstance) GetRequest() RequestContent

GetRequest returns the Request field value if set, zero value otherwise.

func (*JobsInstance) GetRequestDefinitionName

func (o *JobsInstance) GetRequestDefinitionName() string

GetRequestDefinitionName returns the RequestDefinitionName field value if set, zero value otherwise.

func (*JobsInstance) GetRequestDefinitionNameOk

func (o *JobsInstance) GetRequestDefinitionNameOk() (*string, bool)

GetRequestDefinitionNameOk returns a tuple with the RequestDefinitionName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetRequestOk

func (o *JobsInstance) GetRequestOk() (*RequestContent, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetRequestedEndTime

func (o *JobsInstance) GetRequestedEndTime() time.Time

GetRequestedEndTime returns the RequestedEndTime field value if set, zero value otherwise.

func (*JobsInstance) GetRequestedEndTimeOk

func (o *JobsInstance) GetRequestedEndTimeOk() (*time.Time, bool)

GetRequestedEndTimeOk returns a tuple with the RequestedEndTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetRequestedStartTime

func (o *JobsInstance) GetRequestedStartTime() time.Time

GetRequestedStartTime returns the RequestedStartTime field value if set, zero value otherwise.

func (*JobsInstance) GetRequestedStartTimeOk

func (o *JobsInstance) GetRequestedStartTimeOk() (*time.Time, bool)

GetRequestedStartTimeOk returns a tuple with the RequestedStartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetResource

func (o *JobsInstance) GetResource() ResourceRef

GetResource returns the Resource field value if set, zero value otherwise.

func (*JobsInstance) GetResourceAction

func (o *JobsInstance) GetResourceAction() ResourceActionEnum

GetResourceAction returns the ResourceAction field value if set, zero value otherwise.

func (*JobsInstance) GetResourceActionOk

func (o *JobsInstance) GetResourceActionOk() (*ResourceActionEnum, bool)

GetResourceActionOk returns a tuple with the ResourceAction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetResourceActionOtherName

func (o *JobsInstance) GetResourceActionOtherName() string

GetResourceActionOtherName returns the ResourceActionOtherName field value if set, zero value otherwise.

func (*JobsInstance) GetResourceActionOtherNameOk

func (o *JobsInstance) GetResourceActionOtherNameOk() (*string, bool)

GetResourceActionOtherNameOk returns a tuple with the ResourceActionOtherName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetResourceOk

func (o *JobsInstance) GetResourceOk() (*ResourceRef, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetResponse

func (o *JobsInstance) GetResponse() ResponseContent

GetResponse returns the Response field value if set, zero value otherwise.

func (*JobsInstance) GetResponseDefinitionName

func (o *JobsInstance) GetResponseDefinitionName() string

GetResponseDefinitionName returns the ResponseDefinitionName field value if set, zero value otherwise.

func (*JobsInstance) GetResponseDefinitionNameOk

func (o *JobsInstance) GetResponseDefinitionNameOk() (*string, bool)

GetResponseDefinitionNameOk returns a tuple with the ResponseDefinitionName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetResponseOk

func (o *JobsInstance) GetResponseOk() (*ResponseContent, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetResponseStatus

func (o *JobsInstance) GetResponseStatus() HTTPStatusEnum

GetResponseStatus returns the ResponseStatus field value if set, zero value otherwise.

func (*JobsInstance) GetResponseStatusOk

func (o *JobsInstance) GetResponseStatusOk() (*HTTPStatusEnum, bool)

GetResponseStatusOk returns a tuple with the ResponseStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetRootId

func (o *JobsInstance) GetRootId() string

GetRootId returns the RootId field value if set, zero value otherwise.

func (*JobsInstance) GetRootIdOk

func (o *JobsInstance) GetRootIdOk() (*string, bool)

GetRootIdOk returns a tuple with the RootId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetStartTime

func (o *JobsInstance) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*JobsInstance) GetStartTimeOk

func (o *JobsInstance) GetStartTimeOk() (*time.Time, bool)

GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetState

func (o *JobsInstance) GetState() JobStateEnum

GetState returns the State field value if set, zero value otherwise.

func (*JobsInstance) GetStateOk

func (o *JobsInstance) GetStateOk() (*JobStateEnum, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetStepOrder

func (o *JobsInstance) GetStepOrder() int32

GetStepOrder returns the StepOrder field value if set, zero value otherwise.

func (*JobsInstance) GetStepOrderOk

func (o *JobsInstance) GetStepOrderOk() (*int32, bool)

GetStepOrderOk returns a tuple with the StepOrder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) GetUserId

func (o *JobsInstance) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*JobsInstance) GetUserIdOk

func (o *JobsInstance) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobsInstance) HasChildren

func (o *JobsInstance) HasChildren() bool

HasChildren returns a boolean if a field has been set.

func (*JobsInstance) HasClientAddress

func (o *JobsInstance) HasClientAddress() bool

HasClientAddress returns a boolean if a field has been set.

func (*JobsInstance) HasCorrelationId

func (o *JobsInstance) HasCorrelationId() bool

HasCorrelationId returns a boolean if a field has been set.

func (*JobsInstance) HasCreateTime

func (o *JobsInstance) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

func (*JobsInstance) HasDescriptionL10n

func (o *JobsInstance) HasDescriptionL10n() bool

HasDescriptionL10n returns a boolean if a field has been set.

func (*JobsInstance) HasEndTime

func (o *JobsInstance) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*JobsInstance) HasEstimatedCompletionTime

func (o *JobsInstance) HasEstimatedCompletionTime() bool

HasEstimatedCompletionTime returns a boolean if a field has been set.

func (*JobsInstance) HasFamilyIds

func (o *JobsInstance) HasFamilyIds() bool

HasFamilyIds returns a boolean if a field has been set.

func (*JobsInstance) HasId

func (o *JobsInstance) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobsInstance) HasIsCancellable

func (o *JobsInstance) HasIsCancellable() bool

HasIsCancellable returns a boolean if a field has been set.

func (*JobsInstance) HasIsInternal

func (o *JobsInstance) HasIsInternal() bool

HasIsInternal returns a boolean if a field has been set.

func (*JobsInstance) HasIsPausable

func (o *JobsInstance) HasIsPausable() bool

HasIsPausable returns a boolean if a field has been set.

func (*JobsInstance) HasName

func (o *JobsInstance) HasName() bool

HasName returns a boolean if a field has been set.

func (*JobsInstance) HasParentId

func (o *JobsInstance) HasParentId() bool

HasParentId returns a boolean if a field has been set.

func (*JobsInstance) HasPauseMessage

func (o *JobsInstance) HasPauseMessage() bool

HasPauseMessage returns a boolean if a field has been set.

func (*JobsInstance) HasProgress

func (o *JobsInstance) HasProgress() bool

HasProgress returns a boolean if a field has been set.

func (*JobsInstance) HasRequest

func (o *JobsInstance) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*JobsInstance) HasRequestDefinitionName

func (o *JobsInstance) HasRequestDefinitionName() bool

HasRequestDefinitionName returns a boolean if a field has been set.

func (*JobsInstance) HasRequestedEndTime

func (o *JobsInstance) HasRequestedEndTime() bool

HasRequestedEndTime returns a boolean if a field has been set.

func (*JobsInstance) HasRequestedStartTime

func (o *JobsInstance) HasRequestedStartTime() bool

HasRequestedStartTime returns a boolean if a field has been set.

func (*JobsInstance) HasResource

func (o *JobsInstance) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*JobsInstance) HasResourceAction

func (o *JobsInstance) HasResourceAction() bool

HasResourceAction returns a boolean if a field has been set.

func (*JobsInstance) HasResourceActionOtherName

func (o *JobsInstance) HasResourceActionOtherName() bool

HasResourceActionOtherName returns a boolean if a field has been set.

func (*JobsInstance) HasResponse

func (o *JobsInstance) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*JobsInstance) HasResponseDefinitionName

func (o *JobsInstance) HasResponseDefinitionName() bool

HasResponseDefinitionName returns a boolean if a field has been set.

func (*JobsInstance) HasResponseStatus

func (o *JobsInstance) HasResponseStatus() bool

HasResponseStatus returns a boolean if a field has been set.

func (*JobsInstance) HasRootId

func (o *JobsInstance) HasRootId() bool

HasRootId returns a boolean if a field has been set.

func (*JobsInstance) HasStartTime

func (o *JobsInstance) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*JobsInstance) HasState

func (o *JobsInstance) HasState() bool

HasState returns a boolean if a field has been set.

func (*JobsInstance) HasStepOrder

func (o *JobsInstance) HasStepOrder() bool

HasStepOrder returns a boolean if a field has been set.

func (*JobsInstance) HasUserId

func (o *JobsInstance) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (JobsInstance) MarshalJSON

func (o JobsInstance) MarshalJSON() ([]byte, error)

func (*JobsInstance) SetChildren

func (o *JobsInstance) SetChildren(v []JobsInstance)

SetChildren gets a reference to the given []JobsInstance and assigns it to the Children field.

func (*JobsInstance) SetClientAddress

func (o *JobsInstance) SetClientAddress(v string)

SetClientAddress gets a reference to the given string and assigns it to the ClientAddress field.

func (*JobsInstance) SetCorrelationId

func (o *JobsInstance) SetCorrelationId(v string)

SetCorrelationId gets a reference to the given string and assigns it to the CorrelationId field.

func (*JobsInstance) SetCreateTime

func (o *JobsInstance) SetCreateTime(v time.Time)

SetCreateTime gets a reference to the given time.Time and assigns it to the CreateTime field.

func (*JobsInstance) SetDescriptionL10n

func (o *JobsInstance) SetDescriptionL10n(v string)

SetDescriptionL10n gets a reference to the given string and assigns it to the DescriptionL10n field.

func (*JobsInstance) SetEndTime

func (o *JobsInstance) SetEndTime(v time.Time)

SetEndTime gets a reference to the given time.Time and assigns it to the EndTime field.

func (*JobsInstance) SetEstimatedCompletionTime

func (o *JobsInstance) SetEstimatedCompletionTime(v time.Time)

SetEstimatedCompletionTime gets a reference to the given time.Time and assigns it to the EstimatedCompletionTime field.

func (*JobsInstance) SetFamilyIds

func (o *JobsInstance) SetFamilyIds(v []string)

SetFamilyIds gets a reference to the given []string and assigns it to the FamilyIds field.

func (*JobsInstance) SetId

func (o *JobsInstance) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobsInstance) SetIsCancellable

func (o *JobsInstance) SetIsCancellable(v bool)

SetIsCancellable gets a reference to the given bool and assigns it to the IsCancellable field.

func (*JobsInstance) SetIsInternal

func (o *JobsInstance) SetIsInternal(v bool)

SetIsInternal gets a reference to the given bool and assigns it to the IsInternal field.

func (*JobsInstance) SetIsPausable

func (o *JobsInstance) SetIsPausable(v bool)

SetIsPausable gets a reference to the given bool and assigns it to the IsPausable field.

func (*JobsInstance) SetName

func (o *JobsInstance) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*JobsInstance) SetParentId

func (o *JobsInstance) SetParentId(v string)

SetParentId gets a reference to the given string and assigns it to the ParentId field.

func (*JobsInstance) SetPauseMessage

func (o *JobsInstance) SetPauseMessage(v ErrorMessage)

SetPauseMessage gets a reference to the given ErrorMessage and assigns it to the PauseMessage field.

func (*JobsInstance) SetProgress

func (o *JobsInstance) SetProgress(v int32)

SetProgress gets a reference to the given int32 and assigns it to the Progress field.

func (*JobsInstance) SetRequest

func (o *JobsInstance) SetRequest(v RequestContent)

SetRequest gets a reference to the given RequestContent and assigns it to the Request field.

func (*JobsInstance) SetRequestDefinitionName

func (o *JobsInstance) SetRequestDefinitionName(v string)

SetRequestDefinitionName gets a reference to the given string and assigns it to the RequestDefinitionName field.

func (*JobsInstance) SetRequestedEndTime

func (o *JobsInstance) SetRequestedEndTime(v time.Time)

SetRequestedEndTime gets a reference to the given time.Time and assigns it to the RequestedEndTime field.

func (*JobsInstance) SetRequestedStartTime

func (o *JobsInstance) SetRequestedStartTime(v time.Time)

SetRequestedStartTime gets a reference to the given time.Time and assigns it to the RequestedStartTime field.

func (*JobsInstance) SetResource

func (o *JobsInstance) SetResource(v ResourceRef)

SetResource gets a reference to the given ResourceRef and assigns it to the Resource field.

func (*JobsInstance) SetResourceAction

func (o *JobsInstance) SetResourceAction(v ResourceActionEnum)

SetResourceAction gets a reference to the given ResourceActionEnum and assigns it to the ResourceAction field.

func (*JobsInstance) SetResourceActionOtherName

func (o *JobsInstance) SetResourceActionOtherName(v string)

SetResourceActionOtherName gets a reference to the given string and assigns it to the ResourceActionOtherName field.

func (*JobsInstance) SetResponse

func (o *JobsInstance) SetResponse(v ResponseContent)

SetResponse gets a reference to the given ResponseContent and assigns it to the Response field.

func (*JobsInstance) SetResponseDefinitionName

func (o *JobsInstance) SetResponseDefinitionName(v string)

SetResponseDefinitionName gets a reference to the given string and assigns it to the ResponseDefinitionName field.

func (*JobsInstance) SetResponseStatus

func (o *JobsInstance) SetResponseStatus(v HTTPStatusEnum)

SetResponseStatus gets a reference to the given HTTPStatusEnum and assigns it to the ResponseStatus field.

func (*JobsInstance) SetRootId

func (o *JobsInstance) SetRootId(v string)

SetRootId gets a reference to the given string and assigns it to the RootId field.

func (*JobsInstance) SetStartTime

func (o *JobsInstance) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

func (*JobsInstance) SetState

func (o *JobsInstance) SetState(v JobStateEnum)

SetState gets a reference to the given JobStateEnum and assigns it to the State field.

func (*JobsInstance) SetStepOrder

func (o *JobsInstance) SetStepOrder(v int32)

SetStepOrder gets a reference to the given int32 and assigns it to the StepOrder field.

func (*JobsInstance) SetUserId

func (o *JobsInstance) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (JobsInstance) ToMap

func (o JobsInstance) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableErrorMessage

type NullableErrorMessage struct {
	// contains filtered or unexported fields
}

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

func (v NullableErrorMessage) MarshalJSON() ([]byte, error)

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHTTPStatusEnum

type NullableHTTPStatusEnum struct {
	// contains filtered or unexported fields
}

func NewNullableHTTPStatusEnum

func NewNullableHTTPStatusEnum(val *HTTPStatusEnum) *NullableHTTPStatusEnum

func (NullableHTTPStatusEnum) Get

func (NullableHTTPStatusEnum) IsSet

func (v NullableHTTPStatusEnum) IsSet() bool

func (NullableHTTPStatusEnum) MarshalJSON

func (v NullableHTTPStatusEnum) MarshalJSON() ([]byte, error)

func (*NullableHTTPStatusEnum) Set

func (*NullableHTTPStatusEnum) UnmarshalJSON

func (v *NullableHTTPStatusEnum) UnmarshalJSON(src []byte) error

func (*NullableHTTPStatusEnum) Unset

func (v *NullableHTTPStatusEnum) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableJobStateEnum

type NullableJobStateEnum struct {
	// contains filtered or unexported fields
}

func NewNullableJobStateEnum

func NewNullableJobStateEnum(val *JobStateEnum) *NullableJobStateEnum

func (NullableJobStateEnum) Get

func (NullableJobStateEnum) IsSet

func (v NullableJobStateEnum) IsSet() bool

func (NullableJobStateEnum) MarshalJSON

func (v NullableJobStateEnum) MarshalJSON() ([]byte, error)

func (*NullableJobStateEnum) Set

func (v *NullableJobStateEnum) Set(val *JobStateEnum)

func (*NullableJobStateEnum) UnmarshalJSON

func (v *NullableJobStateEnum) UnmarshalJSON(src []byte) error

func (*NullableJobStateEnum) Unset

func (v *NullableJobStateEnum) Unset()

type NullableJobsCollection

type NullableJobsCollection struct {
	// contains filtered or unexported fields
}

func NewNullableJobsCollection

func NewNullableJobsCollection(val *JobsCollection) *NullableJobsCollection

func (NullableJobsCollection) Get

func (NullableJobsCollection) IsSet

func (v NullableJobsCollection) IsSet() bool

func (NullableJobsCollection) MarshalJSON

func (v NullableJobsCollection) MarshalJSON() ([]byte, error)

func (*NullableJobsCollection) Set

func (*NullableJobsCollection) UnmarshalJSON

func (v *NullableJobsCollection) UnmarshalJSON(src []byte) error

func (*NullableJobsCollection) Unset

func (v *NullableJobsCollection) Unset()

type NullableJobsInstance

type NullableJobsInstance struct {
	// contains filtered or unexported fields
}

func NewNullableJobsInstance

func NewNullableJobsInstance(val *JobsInstance) *NullableJobsInstance

func (NullableJobsInstance) Get

func (NullableJobsInstance) IsSet

func (v NullableJobsInstance) IsSet() bool

func (NullableJobsInstance) MarshalJSON

func (v NullableJobsInstance) MarshalJSON() ([]byte, error)

func (*NullableJobsInstance) Set

func (v *NullableJobsInstance) Set(val *JobsInstance)

func (*NullableJobsInstance) UnmarshalJSON

func (v *NullableJobsInstance) UnmarshalJSON(src []byte) error

func (*NullableJobsInstance) Unset

func (v *NullableJobsInstance) Unset()

type NullablePagedJobsCollection

type NullablePagedJobsCollection struct {
	// contains filtered or unexported fields
}

func NewNullablePagedJobsCollection

func NewNullablePagedJobsCollection(val *PagedJobsCollection) *NullablePagedJobsCollection

func (NullablePagedJobsCollection) Get

func (NullablePagedJobsCollection) IsSet

func (NullablePagedJobsCollection) MarshalJSON

func (v NullablePagedJobsCollection) MarshalJSON() ([]byte, error)

func (*NullablePagedJobsCollection) Set

func (*NullablePagedJobsCollection) UnmarshalJSON

func (v *NullablePagedJobsCollection) UnmarshalJSON(src []byte) error

func (*NullablePagedJobsCollection) Unset

func (v *NullablePagedJobsCollection) Unset()

type NullablePagingInformation

type NullablePagingInformation struct {
	// contains filtered or unexported fields
}

func NewNullablePagingInformation

func NewNullablePagingInformation(val *PagingInformation) *NullablePagingInformation

func (NullablePagingInformation) Get

func (NullablePagingInformation) IsSet

func (v NullablePagingInformation) IsSet() bool

func (NullablePagingInformation) MarshalJSON

func (v NullablePagingInformation) MarshalJSON() ([]byte, error)

func (*NullablePagingInformation) Set

func (*NullablePagingInformation) UnmarshalJSON

func (v *NullablePagingInformation) UnmarshalJSON(src []byte) error

func (*NullablePagingInformation) Unset

func (v *NullablePagingInformation) Unset()

type NullableRequestContent

type NullableRequestContent struct {
	// contains filtered or unexported fields
}

func NewNullableRequestContent

func NewNullableRequestContent(val *RequestContent) *NullableRequestContent

func (NullableRequestContent) Get

func (NullableRequestContent) IsSet

func (v NullableRequestContent) IsSet() bool

func (NullableRequestContent) MarshalJSON

func (v NullableRequestContent) MarshalJSON() ([]byte, error)

func (*NullableRequestContent) Set

func (*NullableRequestContent) UnmarshalJSON

func (v *NullableRequestContent) UnmarshalJSON(src []byte) error

func (*NullableRequestContent) Unset

func (v *NullableRequestContent) Unset()

type NullableResourceActionEnum

type NullableResourceActionEnum struct {
	// contains filtered or unexported fields
}

func NewNullableResourceActionEnum

func NewNullableResourceActionEnum(val *ResourceActionEnum) *NullableResourceActionEnum

func (NullableResourceActionEnum) Get

func (NullableResourceActionEnum) IsSet

func (v NullableResourceActionEnum) IsSet() bool

func (NullableResourceActionEnum) MarshalJSON

func (v NullableResourceActionEnum) MarshalJSON() ([]byte, error)

func (*NullableResourceActionEnum) Set

func (*NullableResourceActionEnum) UnmarshalJSON

func (v *NullableResourceActionEnum) UnmarshalJSON(src []byte) error

func (*NullableResourceActionEnum) Unset

func (v *NullableResourceActionEnum) Unset()

type NullableResourceRef

type NullableResourceRef struct {
	// contains filtered or unexported fields
}

func NewNullableResourceRef

func NewNullableResourceRef(val *ResourceRef) *NullableResourceRef

func (NullableResourceRef) Get

func (NullableResourceRef) IsSet

func (v NullableResourceRef) IsSet() bool

func (NullableResourceRef) MarshalJSON

func (v NullableResourceRef) MarshalJSON() ([]byte, error)

func (*NullableResourceRef) Set

func (v *NullableResourceRef) Set(val *ResourceRef)

func (*NullableResourceRef) UnmarshalJSON

func (v *NullableResourceRef) UnmarshalJSON(src []byte) error

func (*NullableResourceRef) Unset

func (v *NullableResourceRef) Unset()

type NullableResourceTypeEnum

type NullableResourceTypeEnum struct {
	// contains filtered or unexported fields
}

func NewNullableResourceTypeEnum

func NewNullableResourceTypeEnum(val *ResourceTypeEnum) *NullableResourceTypeEnum

func (NullableResourceTypeEnum) Get

func (NullableResourceTypeEnum) IsSet

func (v NullableResourceTypeEnum) IsSet() bool

func (NullableResourceTypeEnum) MarshalJSON

func (v NullableResourceTypeEnum) MarshalJSON() ([]byte, error)

func (*NullableResourceTypeEnum) Set

func (*NullableResourceTypeEnum) UnmarshalJSON

func (v *NullableResourceTypeEnum) UnmarshalJSON(src []byte) error

func (*NullableResourceTypeEnum) Unset

func (v *NullableResourceTypeEnum) Unset()

type NullableResponseContent

type NullableResponseContent struct {
	// contains filtered or unexported fields
}

func NewNullableResponseContent

func NewNullableResponseContent(val *ResponseContent) *NullableResponseContent

func (NullableResponseContent) Get

func (NullableResponseContent) IsSet

func (v NullableResponseContent) IsSet() bool

func (NullableResponseContent) MarshalJSON

func (v NullableResponseContent) MarshalJSON() ([]byte, error)

func (*NullableResponseContent) Set

func (*NullableResponseContent) UnmarshalJSON

func (v *NullableResponseContent) UnmarshalJSON(src []byte) error

func (*NullableResponseContent) Unset

func (v *NullableResponseContent) Unset()

type NullableSeverityEnum

type NullableSeverityEnum struct {
	// contains filtered or unexported fields
}

func NewNullableSeverityEnum

func NewNullableSeverityEnum(val *SeverityEnum) *NullableSeverityEnum

func (NullableSeverityEnum) Get

func (NullableSeverityEnum) IsSet

func (v NullableSeverityEnum) IsSet() bool

func (NullableSeverityEnum) MarshalJSON

func (v NullableSeverityEnum) MarshalJSON() ([]byte, error)

func (*NullableSeverityEnum) Set

func (v *NullableSeverityEnum) Set(val *SeverityEnum)

func (*NullableSeverityEnum) UnmarshalJSON

func (v *NullableSeverityEnum) UnmarshalJSON(src []byte) error

func (*NullableSeverityEnum) Unset

func (v *NullableSeverityEnum) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PagedJobsCollection

type PagedJobsCollection struct {
	Paging  *PagingInformation `json:"paging,omitempty"`
	Results []JobsInstance     `json:"results,omitempty"`
}

PagedJobsCollection struct for PagedJobsCollection

func NewPagedJobsCollection

func NewPagedJobsCollection() *PagedJobsCollection

NewPagedJobsCollection instantiates a new PagedJobsCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPagedJobsCollectionWithDefaults

func NewPagedJobsCollectionWithDefaults() *PagedJobsCollection

NewPagedJobsCollectionWithDefaults instantiates a new PagedJobsCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PagedJobsCollection) GetPaging

func (o *PagedJobsCollection) GetPaging() PagingInformation

GetPaging returns the Paging field value if set, zero value otherwise.

func (*PagedJobsCollection) GetPagingOk

func (o *PagedJobsCollection) GetPagingOk() (*PagingInformation, bool)

GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagedJobsCollection) GetResults

func (o *PagedJobsCollection) GetResults() []JobsInstance

GetResults returns the Results field value if set, zero value otherwise.

func (*PagedJobsCollection) GetResultsOk

func (o *PagedJobsCollection) GetResultsOk() ([]JobsInstance, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagedJobsCollection) HasPaging

func (o *PagedJobsCollection) HasPaging() bool

HasPaging returns a boolean if a field has been set.

func (*PagedJobsCollection) HasResults

func (o *PagedJobsCollection) HasResults() bool

HasResults returns a boolean if a field has been set.

func (PagedJobsCollection) MarshalJSON

func (o PagedJobsCollection) MarshalJSON() ([]byte, error)

func (*PagedJobsCollection) SetPaging

func (o *PagedJobsCollection) SetPaging(v PagingInformation)

SetPaging gets a reference to the given PagingInformation and assigns it to the Paging field.

func (*PagedJobsCollection) SetResults

func (o *PagedJobsCollection) SetResults(v []JobsInstance)

SetResults gets a reference to the given []JobsInstance and assigns it to the Results field.

func (PagedJobsCollection) ToMap

func (o PagedJobsCollection) ToMap() (map[string]interface{}, error)

type PagingInformation

type PagingInformation struct {
	// The number of instances in the complete queried collection (not just the size of the current response). If the request was filtered, then this is the size of the complete filtered collection.
	TotalInstances *int32 `json:"total_instances,omitempty"`
	// The URL to fetch the first page of this collection (including filtering and sorting parameters).
	First *string `json:"first,omitempty"`
	// The URL to fetch the last page of this collection (including filtering and sorting parameters).
	Last *string `json:"last,omitempty"`
	// The URL to fetch the next page of this collection (including filtering and sorting parameters). This will not be returned with the last page of a collection.
	Next *string `json:"next,omitempty"`
	// The URL to fetch the previous page of this collection (including filtering and sorting parameters). This will not be returned with the first page of a collection.
	Prev *string `json:"prev,omitempty"`
}

PagingInformation Information provided in paged collection query responses, only when the response is partial, meaning that not all queried instances are returned. The return code will be 206 when this is returned.

func NewPagingInformation

func NewPagingInformation() *PagingInformation

NewPagingInformation instantiates a new PagingInformation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPagingInformationWithDefaults

func NewPagingInformationWithDefaults() *PagingInformation

NewPagingInformationWithDefaults instantiates a new PagingInformation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PagingInformation) GetFirst

func (o *PagingInformation) GetFirst() string

GetFirst returns the First field value if set, zero value otherwise.

func (*PagingInformation) GetFirstOk

func (o *PagingInformation) GetFirstOk() (*string, bool)

GetFirstOk returns a tuple with the First field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagingInformation) GetLast

func (o *PagingInformation) GetLast() string

GetLast returns the Last field value if set, zero value otherwise.

func (*PagingInformation) GetLastOk

func (o *PagingInformation) GetLastOk() (*string, bool)

GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagingInformation) GetNext

func (o *PagingInformation) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PagingInformation) GetNextOk

func (o *PagingInformation) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagingInformation) GetPrev

func (o *PagingInformation) GetPrev() string

GetPrev returns the Prev field value if set, zero value otherwise.

func (*PagingInformation) GetPrevOk

func (o *PagingInformation) GetPrevOk() (*string, bool)

GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagingInformation) GetTotalInstances

func (o *PagingInformation) GetTotalInstances() int32

GetTotalInstances returns the TotalInstances field value if set, zero value otherwise.

func (*PagingInformation) GetTotalInstancesOk

func (o *PagingInformation) GetTotalInstancesOk() (*int32, bool)

GetTotalInstancesOk returns a tuple with the TotalInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PagingInformation) HasFirst

func (o *PagingInformation) HasFirst() bool

HasFirst returns a boolean if a field has been set.

func (*PagingInformation) HasLast

func (o *PagingInformation) HasLast() bool

HasLast returns a boolean if a field has been set.

func (*PagingInformation) HasNext

func (o *PagingInformation) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PagingInformation) HasPrev

func (o *PagingInformation) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*PagingInformation) HasTotalInstances

func (o *PagingInformation) HasTotalInstances() bool

HasTotalInstances returns a boolean if a field has been set.

func (PagingInformation) MarshalJSON

func (o PagingInformation) MarshalJSON() ([]byte, error)

func (*PagingInformation) SetFirst

func (o *PagingInformation) SetFirst(v string)

SetFirst gets a reference to the given string and assigns it to the First field.

func (*PagingInformation) SetLast

func (o *PagingInformation) SetLast(v string)

SetLast gets a reference to the given string and assigns it to the Last field.

func (*PagingInformation) SetNext

func (o *PagingInformation) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PagingInformation) SetPrev

func (o *PagingInformation) SetPrev(v string)

SetPrev gets a reference to the given string and assigns it to the Prev field.

func (*PagingInformation) SetTotalInstances

func (o *PagingInformation) SetTotalInstances(v int32)

SetTotalInstances gets a reference to the given int32 and assigns it to the TotalInstances field.

func (PagingInformation) ToMap

func (o PagingInformation) ToMap() (map[string]interface{}, error)

type RequestContent

type RequestContent struct {
	// This is the name of the OpenAPI definition of the specific request body in the request_body property. For example \"LDAPCreate\", \"LocalAccountModify\", etc...
	OpenapiType *string `json:"openapi_type,omitempty"`
	// The request body that invoked this job.
	Body map[string]interface{} `json:"body,omitempty"`
}

RequestContent Generic request object. This is used as a generic type for request bodies that job instances preserve for clients to query in the future.

func NewRequestContent

func NewRequestContent() *RequestContent

NewRequestContent instantiates a new RequestContent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequestContentWithDefaults

func NewRequestContentWithDefaults() *RequestContent

NewRequestContentWithDefaults instantiates a new RequestContent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RequestContent) GetBody

func (o *RequestContent) GetBody() map[string]interface{}

GetBody returns the Body field value if set, zero value otherwise.

func (*RequestContent) GetBodyOk

func (o *RequestContent) GetBodyOk() (map[string]interface{}, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestContent) GetOpenapiType

func (o *RequestContent) GetOpenapiType() string

GetOpenapiType returns the OpenapiType field value if set, zero value otherwise.

func (*RequestContent) GetOpenapiTypeOk

func (o *RequestContent) GetOpenapiTypeOk() (*string, bool)

GetOpenapiTypeOk returns a tuple with the OpenapiType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestContent) HasBody

func (o *RequestContent) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*RequestContent) HasOpenapiType

func (o *RequestContent) HasOpenapiType() bool

HasOpenapiType returns a boolean if a field has been set.

func (RequestContent) MarshalJSON

func (o RequestContent) MarshalJSON() ([]byte, error)

func (*RequestContent) SetBody

func (o *RequestContent) SetBody(v map[string]interface{})

SetBody gets a reference to the given map[string]interface{} and assigns it to the Body field.

func (*RequestContent) SetOpenapiType

func (o *RequestContent) SetOpenapiType(v string)

SetOpenapiType gets a reference to the given string and assigns it to the OpenapiType field.

func (RequestContent) ToMap

func (o RequestContent) ToMap() (map[string]interface{}, error)

type ResourceActionEnum

type ResourceActionEnum string

ResourceActionEnum User-specified action to be performed on the given resource.

const (
	RESOURCEACTIONENUM_OTHER_ACTION                  ResourceActionEnum = "OTHER_ACTION"
	RESOURCEACTIONENUM_CREATE                        ResourceActionEnum = "create"
	RESOURCEACTIONENUM_MODIFY                        ResourceActionEnum = "modify"
	RESOURCEACTIONENUM_DELETE                        ResourceActionEnum = "delete"
	RESOURCEACTIONENUM_PAUSE                         ResourceActionEnum = "pause"
	RESOURCEACTIONENUM_RESUME                        ResourceActionEnum = "resume"
	RESOURCEACTIONENUM_CANCEL                        ResourceActionEnum = "cancel"
	RESOURCEACTIONENUM_LOGIN                         ResourceActionEnum = "login"
	RESOURCEACTIONENUM_LOGOUT                        ResourceActionEnum = "logout"
	RESOURCEACTIONENUM_GENERATE_CSR                  ResourceActionEnum = "generate-csr"
	RESOURCEACTIONENUM_GENERATE_CSR_PKCS10           ResourceActionEnum = "generate-csr-pkcs10"
	RESOURCEACTIONENUM_QUERY                         ResourceActionEnum = "query"
	RESOURCEACTIONENUM_REPORT_FAILED_MESSAGES        ResourceActionEnum = "report-failed-messages"
	RESOURCEACTIONENUM_TEST                          ResourceActionEnum = "test"
	RESOURCEACTIONENUM_RESEND                        ResourceActionEnum = "resend"
	RESOURCEACTIONENUM_CHALLENGE_PROOF_OF_POSSESSION ResourceActionEnum = "challenge-proof-of-possession"
	RESOURCEACTIONENUM_CONFIGURE                     ResourceActionEnum = "configure"
	RESOURCEACTIONENUM_EXTEND_TRIAL                  ResourceActionEnum = "extend-trial"
	RESOURCEACTIONENUM_CHECK_FOR_ENTITLEMENTS        ResourceActionEnum = "check-for-entitlements"
	RESOURCEACTIONENUM_SEND_TEST_ALERT               ResourceActionEnum = "send-test-alert"
	RESOURCEACTIONENUM_INSTALL                       ResourceActionEnum = "install"
	RESOURCEACTIONENUM_CHECK_FOR_UPDATES             ResourceActionEnum = "check-for-updates"
	RESOURCEACTIONENUM_PRE_UPGRADE_HEALTH_CHECK      ResourceActionEnum = "pre-upgrade-health-check"
	RESOURCEACTIONENUM_DOWNLOAD                      ResourceActionEnum = "download"
	RESOURCEACTIONENUM_GENERATE_TRUST_POLICY         ResourceActionEnum = "generate-trust-policy"
	RESOURCEACTIONENUM_REFRESH                       ResourceActionEnum = "refresh"
	RESOURCEACTIONENUM_UNMAP                         ResourceActionEnum = "unmap"
	RESOURCEACTIONENUM_MAP                           ResourceActionEnum = "map"
	RESOURCEACTIONENUM_COPY                          ResourceActionEnum = "copy"
	RESOURCEACTIONENUM_INITIALIZE_TRUST              ResourceActionEnum = "initialize-trust"
	RESOURCEACTIONENUM_ACTIVATE                      ResourceActionEnum = "activate"
)

List of ResourceActionEnum

func NewResourceActionEnumFromValue

func NewResourceActionEnumFromValue(v string) (*ResourceActionEnum, error)

NewResourceActionEnumFromValue returns a pointer to a valid ResourceActionEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ResourceActionEnum) IsValid

func (v ResourceActionEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ResourceActionEnum) Ptr

Ptr returns reference to ResourceActionEnum value

func (*ResourceActionEnum) UnmarshalJSON

func (v *ResourceActionEnum) UnmarshalJSON(src []byte) error

type ResourceRef

type ResourceRef struct {
	Type ResourceTypeEnum `json:"type"`
	// Unique identifier of the resource on which the job is operating.
	Id string `json:"id"`
	// The name of the referenced resource, if applicable. This is copied from the resource as a convenience for clients.
	Name *string `json:"name,omitempty"`
	// The URL of the referenced resource instance. For specific resource types in ResourceType enum, the URL will be of the form <base_uri>/<type>/<id>. When the type is OTHER_RESOURCE, the value can be any valid URI that resolves to the referenced resource.
	ResourceUrl *string `json:"resource_url,omitempty"`
}

ResourceRef A ResourceRef contains type and identifier information that is used to reference an instance of any resource. Type and id are required when a client is referring to a resource in a request, and type=OTHER_RESOURCE, name, and resource_url are not valid in that context.

func NewResourceRef

func NewResourceRef(type_ ResourceTypeEnum, id string) *ResourceRef

NewResourceRef instantiates a new ResourceRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceRefWithDefaults

func NewResourceRefWithDefaults() *ResourceRef

NewResourceRefWithDefaults instantiates a new ResourceRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceRef) GetId

func (o *ResourceRef) GetId() string

GetId returns the Id field value

func (*ResourceRef) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ResourceRef) GetName

func (o *ResourceRef) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ResourceRef) GetNameOk

func (o *ResourceRef) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRef) GetResourceUrl

func (o *ResourceRef) GetResourceUrl() string

GetResourceUrl returns the ResourceUrl field value if set, zero value otherwise.

func (*ResourceRef) GetResourceUrlOk

func (o *ResourceRef) GetResourceUrlOk() (*string, bool)

GetResourceUrlOk returns a tuple with the ResourceUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceRef) GetType

func (o *ResourceRef) GetType() ResourceTypeEnum

GetType returns the Type field value

func (*ResourceRef) GetTypeOk

func (o *ResourceRef) GetTypeOk() (*ResourceTypeEnum, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ResourceRef) HasName

func (o *ResourceRef) HasName() bool

HasName returns a boolean if a field has been set.

func (*ResourceRef) HasResourceUrl

func (o *ResourceRef) HasResourceUrl() bool

HasResourceUrl returns a boolean if a field has been set.

func (ResourceRef) MarshalJSON

func (o ResourceRef) MarshalJSON() ([]byte, error)

func (*ResourceRef) SetId

func (o *ResourceRef) SetId(v string)

SetId sets field value

func (*ResourceRef) SetName

func (o *ResourceRef) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ResourceRef) SetResourceUrl

func (o *ResourceRef) SetResourceUrl(v string)

SetResourceUrl gets a reference to the given string and assigns it to the ResourceUrl field.

func (*ResourceRef) SetType

func (o *ResourceRef) SetType(v ResourceTypeEnum)

SetType sets field value

func (ResourceRef) ToMap

func (o ResourceRef) ToMap() (map[string]interface{}, error)

func (*ResourceRef) UnmarshalJSON

func (o *ResourceRef) UnmarshalJSON(bytes []byte) (err error)

type ResourceTypeEnum

type ResourceTypeEnum string

ResourceTypeEnum Type of resource on which the job is operating. *OTHER_RESOURCE* is a special resource type value that allows referencing a instance from a different API suite by using the full resource URL suitable for GET as the resource_id value.

const (
	RESOURCETYPEENUM_OTHER_RESOURCE              ResourceTypeEnum = "OTHER_RESOURCE"
	RESOURCETYPEENUM_ALERTS                      ResourceTypeEnum = "alerts"
	RESOURCETYPEENUM_AUDIT_EVENTS                ResourceTypeEnum = "audit-events"
	RESOURCETYPEENUM_BASIC_SYSTEM_INFO           ResourceTypeEnum = "basic-system-info"
	RESOURCETYPEENUM_CERT_ROLE_MAPPINGS          ResourceTypeEnum = "cert-role-mappings"
	RESOURCETYPEENUM_CERT_LOCAL_ACCOUNT_MAPPINGS ResourceTypeEnum = "cert-local-account-mappings"
	RESOURCETYPEENUM_DNS_CONFIG                  ResourceTypeEnum = "dns-config"
	RESOURCETYPEENUM_EVENTS                      ResourceTypeEnum = "events"
	RESOURCETYPEENUM_FEDERATED_ELEMENTS          ResourceTypeEnum = "federated-elements"
	RESOURCETYPEENUM_INITIAL_CONFIG              ResourceTypeEnum = "initial-config"
	RESOURCETYPEENUM_JOBS                        ResourceTypeEnum = "jobs"
	RESOURCETYPEENUM_KMIP_SERVICES               ResourceTypeEnum = "kmip-services"
	RESOURCETYPEENUM_LDAPS                       ResourceTypeEnum = "ldaps"
	RESOURCETYPEENUM_LDAP_ROLE_MAPPINGS          ResourceTypeEnum = "ldap-role-mappings"
	RESOURCETYPEENUM_LICENSES                    ResourceTypeEnum = "licenses"
	RESOURCETYPEENUM_LICENSES_CONFIG             ResourceTypeEnum = "licenses-config"
	RESOURCETYPEENUM_LOCAL_ACCOUNTS              ResourceTypeEnum = "local-accounts"
	RESOURCETYPEENUM_LOCAL_ACCOUNTS_CONFIG       ResourceTypeEnum = "local-accounts-config"
	RESOURCETYPEENUM_LOGIN                       ResourceTypeEnum = "login"
	RESOURCETYPEENUM_METRIC_METADATA             ResourceTypeEnum = "metric-metadata"
	RESOURCETYPEENUM_METRICS                     ResourceTypeEnum = "metrics"
	RESOURCETYPEENUM_MFA_CACPIVS                 ResourceTypeEnum = "mfa-cacpivs"
	RESOURCETYPEENUM_MFA_SECURIDS                ResourceTypeEnum = "mfa-securids"
	RESOURCETYPEENUM_OAUTH2_SERVICES             ResourceTypeEnum = "oauth2-services"
	RESOURCETYPEENUM_OIDC_SERVICES               ResourceTypeEnum = "oidc-services"
	RESOURCETYPEENUM_RESOURCE_TAGS               ResourceTypeEnum = "resource-tags"
	RESOURCETYPEENUM_ROLES                       ResourceTypeEnum = "roles"
	RESOURCETYPEENUM_SAML_SERVICES               ResourceTypeEnum = "saml-services"
	RESOURCETYPEENUM_SCV                         ResourceTypeEnum = "scv"
	RESOURCETYPEENUM_SECURITY_CONFIG             ResourceTypeEnum = "security-config"
	RESOURCETYPEENUM_SMTP_SERVICES               ResourceTypeEnum = "smtp-services"
	RESOURCETYPEENUM_SMTP_EMAIL_SUBSCRIPTIONS    ResourceTypeEnum = "smtp-email-subscriptions"
	RESOURCETYPEENUM_SNMP_SERVICES               ResourceTypeEnum = "snmp-services"
	RESOURCETYPEENUM_SNMP_TRAP_SUBSCRIPTIONS     ResourceTypeEnum = "snmp-trap-subscriptions"
	RESOURCETYPEENUM_SOFTWARE_PACKAGES           ResourceTypeEnum = "software-packages"
	RESOURCETYPEENUM_SUPPORT_CONNECTIVITY_CONFIG ResourceTypeEnum = "support-connectivity-config"
	RESOURCETYPEENUM_SUPPORT_CUSTOMER_CONTACTS   ResourceTypeEnum = "support-customer-contacts"
	RESOURCETYPEENUM_SUPPORT_MATERIALS           ResourceTypeEnum = "support-materials"
	RESOURCETYPEENUM_SYSLOGS                     ResourceTypeEnum = "syslogs"
	RESOURCETYPEENUM_SYSLOG_SUBSCRIPTIONS        ResourceTypeEnum = "syslog-subscriptions"
	RESOURCETYPEENUM_TAGS                        ResourceTypeEnum = "tags"
	RESOURCETYPEENUM_TIME_CONFIG                 ResourceTypeEnum = "time-config"
	RESOURCETYPEENUM_WEBHOOK_TARGETS             ResourceTypeEnum = "webhook-targets"
	RESOURCETYPEENUM_WEBHOOK_SUBSCRIPTIONS       ResourceTypeEnum = "webhook-subscriptions"
	RESOURCETYPEENUM_WEBHOOK_MESSAGES            ResourceTypeEnum = "webhook-messages"
	RESOURCETYPEENUM_X509_CERTIFICATES           ResourceTypeEnum = "x509-certificates"
	RESOURCETYPEENUM_AWS_ACCOUNTS                ResourceTypeEnum = "aws-accounts"
	RESOURCETYPEENUM_AWS_PERMISSION_POLICIES     ResourceTypeEnum = "aws-permission-policies"
	RESOURCETYPEENUM_STORAGE_PRODUCTS            ResourceTypeEnum = "storage-products"
	RESOURCETYPEENUM_STORAGE_PRODUCT_OPTIONS     ResourceTypeEnum = "storage-product-options"
	RESOURCETYPEENUM_MOBILITY_TARGETS            ResourceTypeEnum = "mobility-targets"
	RESOURCETYPEENUM_MOBILITY_GROUPS             ResourceTypeEnum = "mobility-groups"
	RESOURCETYPEENUM_CLONES                      ResourceTypeEnum = "clones"
	RESOURCETYPEENUM_STORAGE_SYSTEM_TOKENS       ResourceTypeEnum = "storage-system-tokens"
	RESOURCETYPEENUM_STORAGE_SYSTEMS             ResourceTypeEnum = "storage-systems"
)

List of ResourceTypeEnum

func NewResourceTypeEnumFromValue

func NewResourceTypeEnumFromValue(v string) (*ResourceTypeEnum, error)

NewResourceTypeEnumFromValue returns a pointer to a valid ResourceTypeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ResourceTypeEnum) IsValid

func (v ResourceTypeEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ResourceTypeEnum) Ptr

Ptr returns reference to ResourceTypeEnum value

func (*ResourceTypeEnum) UnmarshalJSON

func (v *ResourceTypeEnum) UnmarshalJSON(src []byte) error

type ResponseContent

type ResponseContent struct {
	// This is the name of the OpenAPI definition of the specific response body in the response_body property.
	OpenapiType *string `json:"openapi_type,omitempty"`
	// The response body that is returned by this job. Available when in a terminal state (SUCCEEDED, FAILED, COMPLETED_WITH_MESSAGES).
	Body map[string]interface{} `json:"body,omitempty"`
}

ResponseContent Generic response object. This is used as a generic type for response bodies that job instances must preserve for clients to query in the future.

func NewResponseContent

func NewResponseContent() *ResponseContent

NewResponseContent instantiates a new ResponseContent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResponseContentWithDefaults

func NewResponseContentWithDefaults() *ResponseContent

NewResponseContentWithDefaults instantiates a new ResponseContent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResponseContent) GetBody

func (o *ResponseContent) GetBody() map[string]interface{}

GetBody returns the Body field value if set, zero value otherwise.

func (*ResponseContent) GetBodyOk

func (o *ResponseContent) GetBodyOk() (map[string]interface{}, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResponseContent) GetOpenapiType

func (o *ResponseContent) GetOpenapiType() string

GetOpenapiType returns the OpenapiType field value if set, zero value otherwise.

func (*ResponseContent) GetOpenapiTypeOk

func (o *ResponseContent) GetOpenapiTypeOk() (*string, bool)

GetOpenapiTypeOk returns a tuple with the OpenapiType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResponseContent) HasBody

func (o *ResponseContent) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*ResponseContent) HasOpenapiType

func (o *ResponseContent) HasOpenapiType() bool

HasOpenapiType returns a boolean if a field has been set.

func (ResponseContent) MarshalJSON

func (o ResponseContent) MarshalJSON() ([]byte, error)

func (*ResponseContent) SetBody

func (o *ResponseContent) SetBody(v map[string]interface{})

SetBody gets a reference to the given map[string]interface{} and assigns it to the Body field.

func (*ResponseContent) SetOpenapiType

func (o *ResponseContent) SetOpenapiType(v string)

SetOpenapiType gets a reference to the given string and assigns it to the OpenapiType field.

func (ResponseContent) ToMap

func (o ResponseContent) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SeverityEnum

type SeverityEnum string

SeverityEnum The severity of the condition. * INFO - Information that may be of use in understanding the failure. It is not a problem to fix. * WARNING - A condition that isn't a failure, but may be unexpected or a contributing factor. It may be necessary to fix the condition to successfully retry the request. * ERROR - An actual failure condition through which the request could not continue. * CRITICAL - A failure with significant impact to the system. Normally failed commands roll back and are just ERROR, but may be used for exceptional cases.

const (
	SEVERITYENUM_INFO     SeverityEnum = "INFO"
	SEVERITYENUM_WARNING  SeverityEnum = "WARNING"
	SEVERITYENUM_ERROR    SeverityEnum = "ERROR"
	SEVERITYENUM_CRITICAL SeverityEnum = "CRITICAL"
)

List of SeverityEnum

func NewSeverityEnumFromValue

func NewSeverityEnumFromValue(v string) (*SeverityEnum, error)

NewSeverityEnumFromValue returns a pointer to a valid SeverityEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SeverityEnum) IsValid

func (v SeverityEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SeverityEnum) Ptr

func (v SeverityEnum) Ptr() *SeverityEnum

Ptr returns reference to SeverityEnum value

func (*SeverityEnum) UnmarshalJSON

func (v *SeverityEnum) UnmarshalJSON(src []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL