Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiWorkersIdDeleteRequest
- type ApiWorkersIdOrNameProcessPostRequest
- type ApiWorkersIdPatchRequest
- type ApiWorkersIdPostRequest
- type ApiWorkersIdPutRequest
- type ApiWorkersPostRequest
- type BasicAuth
- type Configuration
- type DataEncoding
- type DefaultAPIService
- func (a *DefaultAPIService) WorkersIdDelete(ctx context.Context, id int32) ApiWorkersIdDeleteRequest
- func (a *DefaultAPIService) WorkersIdDeleteExecute(r ApiWorkersIdDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) WorkersIdOrNameProcessPost(ctx context.Context, idOrName WorkersIdOrNameProcessPostIdOrNameParameter) ApiWorkersIdOrNameProcessPostRequest
- func (a *DefaultAPIService) WorkersIdOrNameProcessPostExecute(r ApiWorkersIdOrNameProcessPostRequest) (*ProcessResponse, *http.Response, error)
- func (a *DefaultAPIService) WorkersIdPatch(ctx context.Context, id int32) ApiWorkersIdPatchRequest
- func (a *DefaultAPIService) WorkersIdPatchExecute(r ApiWorkersIdPatchRequest) (*http.Response, error)
- func (a *DefaultAPIService) WorkersIdPost(ctx context.Context, id int32) ApiWorkersIdPostRequest
- func (a *DefaultAPIService) WorkersIdPostExecute(r ApiWorkersIdPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) WorkersIdPut(ctx context.Context, id int32) ApiWorkersIdPutRequest
- func (a *DefaultAPIService) WorkersIdPutExecute(r ApiWorkersIdPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) WorkersPost(ctx context.Context) ApiWorkersPostRequest
- func (a *DefaultAPIService) WorkersPostExecute(r ApiWorkersPostRequest) (*http.Response, error)
- type ErrorMessage
- func (o *ErrorMessage) GetError() string
- func (o *ErrorMessage) GetErrorOk() (*string, bool)
- func (o *ErrorMessage) HasError() bool
- func (o ErrorMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorMessage) SetError(v string)
- func (o ErrorMessage) ToMap() (map[string]interface{}, error)
- func (o *ErrorMessage) UnmarshalJSON(bytes []byte) (err error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableBool
- type NullableDataEncoding
- func (v NullableDataEncoding) Get() *DataEncoding
- func (v NullableDataEncoding) IsSet() bool
- func (v NullableDataEncoding) MarshalJSON() ([]byte, error)
- func (v *NullableDataEncoding) Set(val *DataEncoding)
- func (v *NullableDataEncoding) UnmarshalJSON(src []byte) error
- func (v *NullableDataEncoding) Unset()
- type NullableErrorMessage
- func (v NullableErrorMessage) Get() *ErrorMessage
- func (v NullableErrorMessage) IsSet() bool
- func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessage) Set(val *ErrorMessage)
- func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessage) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableProcessRequest
- func (v NullableProcessRequest) Get() *ProcessRequest
- func (v NullableProcessRequest) IsSet() bool
- func (v NullableProcessRequest) MarshalJSON() ([]byte, error)
- func (v *NullableProcessRequest) Set(val *ProcessRequest)
- func (v *NullableProcessRequest) UnmarshalJSON(src []byte) error
- func (v *NullableProcessRequest) Unset()
- type NullableProcessResponse
- func (v NullableProcessResponse) Get() *ProcessResponse
- func (v NullableProcessResponse) IsSet() bool
- func (v NullableProcessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProcessResponse) Set(val *ProcessResponse)
- func (v *NullableProcessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProcessResponse) Unset()
- type NullableString
- type NullableTime
- type NullableWorkerRequest
- func (v NullableWorkerRequest) Get() *WorkerRequest
- func (v NullableWorkerRequest) IsSet() bool
- func (v NullableWorkerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWorkerRequest) Set(val *WorkerRequest)
- func (v *NullableWorkerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWorkerRequest) Unset()
- type NullableWorkerResponse
- func (v NullableWorkerResponse) Get() *WorkerResponse
- func (v NullableWorkerResponse) IsSet() bool
- func (v NullableWorkerResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWorkerResponse) Set(val *WorkerResponse)
- func (v *NullableWorkerResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWorkerResponse) Unset()
- type NullableWorkersIdOrNameProcessPostIdOrNameParameter
- func (v NullableWorkersIdOrNameProcessPostIdOrNameParameter) Get() *WorkersIdOrNameProcessPostIdOrNameParameter
- func (v NullableWorkersIdOrNameProcessPostIdOrNameParameter) IsSet() bool
- func (v NullableWorkersIdOrNameProcessPostIdOrNameParameter) MarshalJSON() ([]byte, error)
- func (v *NullableWorkersIdOrNameProcessPostIdOrNameParameter) Set(val *WorkersIdOrNameProcessPostIdOrNameParameter)
- func (v *NullableWorkersIdOrNameProcessPostIdOrNameParameter) UnmarshalJSON(src []byte) error
- func (v *NullableWorkersIdOrNameProcessPostIdOrNameParameter) Unset()
- type ProcessRequest
- func (o *ProcessRequest) GetData() string
- func (o *ProcessRequest) GetDataOk() (*string, bool)
- func (o *ProcessRequest) GetEncoding() DataEncoding
- func (o *ProcessRequest) GetEncodingOk() (*DataEncoding, bool)
- func (o *ProcessRequest) GetMetaData() map[string]string
- func (o *ProcessRequest) GetMetaDataOk() (*map[string]string, bool)
- func (o *ProcessRequest) HasEncoding() bool
- func (o *ProcessRequest) HasMetaData() bool
- func (o ProcessRequest) MarshalJSON() ([]byte, error)
- func (o *ProcessRequest) SetData(v string)
- func (o *ProcessRequest) SetEncoding(v DataEncoding)
- func (o *ProcessRequest) SetMetaData(v map[string]string)
- func (o ProcessRequest) ToMap() (map[string]interface{}, error)
- func (o *ProcessRequest) UnmarshalJSON(bytes []byte) (err error)
- type ProcessResponse
- func (o *ProcessResponse) GetArchiveId() string
- func (o *ProcessResponse) GetArchiveIdOk() (*string, bool)
- func (o *ProcessResponse) GetData() string
- func (o *ProcessResponse) GetDataOk() (*string, bool)
- func (o *ProcessResponse) GetMetaData() map[string]string
- func (o *ProcessResponse) GetMetaDataOk() (*map[string]string, bool)
- func (o *ProcessResponse) GetRequestId() string
- func (o *ProcessResponse) GetRequestIdOk() (*string, bool)
- func (o *ProcessResponse) GetSignerCertificate() string
- func (o *ProcessResponse) GetSignerCertificateOk() (*string, bool)
- func (o *ProcessResponse) HasArchiveId() bool
- func (o *ProcessResponse) HasData() bool
- func (o *ProcessResponse) HasMetaData() bool
- func (o *ProcessResponse) HasRequestId() bool
- func (o *ProcessResponse) HasSignerCertificate() bool
- func (o ProcessResponse) MarshalJSON() ([]byte, error)
- func (o *ProcessResponse) SetArchiveId(v string)
- func (o *ProcessResponse) SetData(v string)
- func (o *ProcessResponse) SetMetaData(v map[string]string)
- func (o *ProcessResponse) SetRequestId(v string)
- func (o *ProcessResponse) SetSignerCertificate(v string)
- func (o ProcessResponse) ToMap() (map[string]interface{}, error)
- func (o *ProcessResponse) UnmarshalJSON(bytes []byte) (err error)
- type WorkerRequest
- func (o *WorkerRequest) GetProperties() map[string]string
- func (o *WorkerRequest) GetPropertiesOk() (*map[string]string, bool)
- func (o *WorkerRequest) HasProperties() bool
- func (o WorkerRequest) MarshalJSON() ([]byte, error)
- func (o *WorkerRequest) SetProperties(v map[string]string)
- func (o WorkerRequest) ToMap() (map[string]interface{}, error)
- func (o *WorkerRequest) UnmarshalJSON(bytes []byte) (err error)
- type WorkerResponse
- func (o *WorkerResponse) GetResponseMessage() string
- func (o *WorkerResponse) GetResponseMessageOk() (*string, bool)
- func (o *WorkerResponse) HasResponseMessage() bool
- func (o WorkerResponse) MarshalJSON() ([]byte, error)
- func (o *WorkerResponse) SetResponseMessage(v string)
- func (o WorkerResponse) ToMap() (map[string]interface{}, error)
- func (o *WorkerResponse) UnmarshalJSON(bytes []byte) (err error)
- type WorkersIdOrNameProcessPostIdOrNameParameter
Constants ¶
This section is empty.
Variables ¶
var AllowedDataEncodingEnumValues = []DataEncoding{
"NONE",
"BASE64",
}
All allowed values of DataEncoding enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultAPI *DefaultAPIService // contains filtered or unexported fields }
APIClient manages communication with the SignServer REST Interface API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) (*APIClient, error)
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 ¶
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 ApiWorkersIdDeleteRequest ¶
type ApiWorkersIdDeleteRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiWorkersIdOrNameProcessPostRequest ¶
type ApiWorkersIdOrNameProcessPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiWorkersIdOrNameProcessPostRequest) Execute ¶
func (r ApiWorkersIdOrNameProcessPostRequest) Execute() (*ProcessResponse, *http.Response, error)
func (ApiWorkersIdOrNameProcessPostRequest) ProcessRequest ¶
func (r ApiWorkersIdOrNameProcessPostRequest) ProcessRequest(processRequest ProcessRequest) ApiWorkersIdOrNameProcessPostRequest
The request
type ApiWorkersIdPatchRequest ¶
type ApiWorkersIdPatchRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiWorkersIdPatchRequest) Execute ¶
func (r ApiWorkersIdPatchRequest) Execute() (*http.Response, error)
func (ApiWorkersIdPatchRequest) WorkerRequest ¶
func (r ApiWorkersIdPatchRequest) WorkerRequest(workerRequest WorkerRequest) ApiWorkersIdPatchRequest
The request
type ApiWorkersIdPostRequest ¶
type ApiWorkersIdPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiWorkersIdPostRequest) Execute ¶
func (r ApiWorkersIdPostRequest) Execute() (*http.Response, error)
func (ApiWorkersIdPostRequest) WorkerRequest ¶
func (r ApiWorkersIdPostRequest) WorkerRequest(workerRequest WorkerRequest) ApiWorkersIdPostRequest
The request
type ApiWorkersIdPutRequest ¶
type ApiWorkersIdPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiWorkersIdPutRequest) Execute ¶
func (r ApiWorkersIdPutRequest) Execute() (*http.Response, error)
func (ApiWorkersIdPutRequest) WorkerRequest ¶
func (r ApiWorkersIdPutRequest) WorkerRequest(workerRequest WorkerRequest) ApiWorkersIdPutRequest
The request
type ApiWorkersPostRequest ¶
type ApiWorkersPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiWorkersPostRequest) Execute ¶
func (r ApiWorkersPostRequest) Execute() (*http.Response, error)
func (ApiWorkersPostRequest) WorkerRequest ¶
func (r ApiWorkersPostRequest) WorkerRequest(workerRequest WorkerRequest) ApiWorkersPostRequest
The request
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"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` ClientCertificatePath string `json:"clientCertificatePath,omitempty"` ClientCertificateKeyPath string `json:"clientCertificateKeyPath,omitempty"` CaCertificatePath string `json:"caCertificatePath,omitempty"` HTTPClient *http.Client // contains filtered or unexported fields }
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) SetCaCertificates ¶
func (c *Configuration) SetCaCertificates(caCertificates []*x509.Certificate)
func (*Configuration) SetClientCertificate ¶
func (c *Configuration) SetClientCertificate(clientCertificate *tls.Certificate)
type DataEncoding ¶
type DataEncoding string
DataEncoding Choice of additional encoding of the data.
const ( NONE DataEncoding = "NONE" BASE64 DataEncoding = "BASE64" )
List of DataEncoding
func NewDataEncodingFromValue ¶
func NewDataEncodingFromValue(v string) (*DataEncoding, error)
NewDataEncodingFromValue returns a pointer to a valid DataEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DataEncoding) IsValid ¶
func (v DataEncoding) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DataEncoding) Ptr ¶
func (v DataEncoding) Ptr() *DataEncoding
Ptr returns reference to DataEncoding value
func (*DataEncoding) UnmarshalJSON ¶
func (v *DataEncoding) UnmarshalJSON(src []byte) error
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) WorkersIdDelete ¶
func (a *DefaultAPIService) WorkersIdDelete(ctx context.Context, id int32) ApiWorkersIdDeleteRequest
WorkersIdDelete Removing worker
Removing worker by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiWorkersIdDeleteRequest
func (*DefaultAPIService) WorkersIdDeleteExecute ¶
func (a *DefaultAPIService) WorkersIdDeleteExecute(r ApiWorkersIdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*DefaultAPIService) WorkersIdOrNameProcessPost ¶
func (a *DefaultAPIService) WorkersIdOrNameProcessPost(ctx context.Context, idOrName WorkersIdOrNameProcessPostIdOrNameParameter) ApiWorkersIdOrNameProcessPostRequest
WorkersIdOrNameProcessPost Submit data for processing
Submit data/document/file for processing such as for instance signing and get back the result (i.e. signature).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param idOrName Worker Id or name of the worker @return ApiWorkersIdOrNameProcessPostRequest
func (*DefaultAPIService) WorkersIdOrNameProcessPostExecute ¶
func (a *DefaultAPIService) WorkersIdOrNameProcessPostExecute(r ApiWorkersIdOrNameProcessPostRequest) (*ProcessResponse, *http.Response, error)
Execute executes the request
@return ProcessResponse
func (*DefaultAPIService) WorkersIdPatch ¶
func (a *DefaultAPIService) WorkersIdPatch(ctx context.Context, id int32) ApiWorkersIdPatchRequest
WorkersIdPatch Submit data for update and delete worker properties
Submit a worker ID and a list of worker properties to update or delete.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiWorkersIdPatchRequest
func (*DefaultAPIService) WorkersIdPatchExecute ¶
func (a *DefaultAPIService) WorkersIdPatchExecute(r ApiWorkersIdPatchRequest) (*http.Response, error)
Execute executes the request
func (*DefaultAPIService) WorkersIdPost ¶
func (a *DefaultAPIService) WorkersIdPost(ctx context.Context, id int32) ApiWorkersIdPostRequest
WorkersIdPost Submit data for adding a new worker from multiple properties
Submit a worker ID and a list of worker properties to add a new worker.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiWorkersIdPostRequest
func (*DefaultAPIService) WorkersIdPostExecute ¶
func (a *DefaultAPIService) WorkersIdPostExecute(r ApiWorkersIdPostRequest) (*http.Response, error)
Execute executes the request
func (*DefaultAPIService) WorkersIdPut ¶
func (a *DefaultAPIService) WorkersIdPut(ctx context.Context, id int32) ApiWorkersIdPutRequest
WorkersIdPut Submit data for replace worker properties with the new properties
Submit a worker ID and a list of worker properties to replace with current worker properties.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiWorkersIdPutRequest
func (*DefaultAPIService) WorkersIdPutExecute ¶
func (a *DefaultAPIService) WorkersIdPutExecute(r ApiWorkersIdPutRequest) (*http.Response, error)
Execute executes the request
func (*DefaultAPIService) WorkersPost ¶
func (a *DefaultAPIService) WorkersPost(ctx context.Context) ApiWorkersPostRequest
WorkersPost Submit data for adding a new worker from multiple properties
Submit a worker ID and a list of worker properties to add a new worker.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiWorkersPostRequest
func (*DefaultAPIService) WorkersPostExecute ¶
func (a *DefaultAPIService) WorkersPostExecute(r ApiWorkersPostRequest) (*http.Response, error)
Execute executes the request
type ErrorMessage ¶
type ErrorMessage struct { Error *string `json:"error,omitempty"` AdditionalProperties map[string]interface{} }
ErrorMessage struct for ErrorMessage
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) GetError ¶
func (o *ErrorMessage) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorMessage) GetErrorOk ¶
func (o *ErrorMessage) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessage) HasError ¶
func (o *ErrorMessage) HasError() bool
HasError returns a boolean if a field has been set.
func (ErrorMessage) MarshalJSON ¶
func (o ErrorMessage) MarshalJSON() ([]byte, error)
func (*ErrorMessage) SetError ¶
func (o *ErrorMessage) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (ErrorMessage) ToMap ¶
func (o ErrorMessage) ToMap() (map[string]interface{}, error)
func (*ErrorMessage) UnmarshalJSON ¶
func (o *ErrorMessage) UnmarshalJSON(bytes []byte) (err 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 MappedNullable ¶
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 NullableDataEncoding ¶
type NullableDataEncoding struct {
// contains filtered or unexported fields
}
func NewNullableDataEncoding ¶
func NewNullableDataEncoding(val *DataEncoding) *NullableDataEncoding
func (NullableDataEncoding) Get ¶
func (v NullableDataEncoding) Get() *DataEncoding
func (NullableDataEncoding) IsSet ¶
func (v NullableDataEncoding) IsSet() bool
func (NullableDataEncoding) MarshalJSON ¶
func (v NullableDataEncoding) MarshalJSON() ([]byte, error)
func (*NullableDataEncoding) Set ¶
func (v *NullableDataEncoding) Set(val *DataEncoding)
func (*NullableDataEncoding) UnmarshalJSON ¶
func (v *NullableDataEncoding) UnmarshalJSON(src []byte) error
func (*NullableDataEncoding) Unset ¶
func (v *NullableDataEncoding) Unset()
type NullableErrorMessage ¶
type NullableErrorMessage struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessage ¶
func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage
func (NullableErrorMessage) Get ¶
func (v NullableErrorMessage) Get() *ErrorMessage
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 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 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 NullableProcessRequest ¶
type NullableProcessRequest struct {
// contains filtered or unexported fields
}
func NewNullableProcessRequest ¶
func NewNullableProcessRequest(val *ProcessRequest) *NullableProcessRequest
func (NullableProcessRequest) Get ¶
func (v NullableProcessRequest) Get() *ProcessRequest
func (NullableProcessRequest) IsSet ¶
func (v NullableProcessRequest) IsSet() bool
func (NullableProcessRequest) MarshalJSON ¶
func (v NullableProcessRequest) MarshalJSON() ([]byte, error)
func (*NullableProcessRequest) Set ¶
func (v *NullableProcessRequest) Set(val *ProcessRequest)
func (*NullableProcessRequest) UnmarshalJSON ¶
func (v *NullableProcessRequest) UnmarshalJSON(src []byte) error
func (*NullableProcessRequest) Unset ¶
func (v *NullableProcessRequest) Unset()
type NullableProcessResponse ¶
type NullableProcessResponse struct {
// contains filtered or unexported fields
}
func NewNullableProcessResponse ¶
func NewNullableProcessResponse(val *ProcessResponse) *NullableProcessResponse
func (NullableProcessResponse) Get ¶
func (v NullableProcessResponse) Get() *ProcessResponse
func (NullableProcessResponse) IsSet ¶
func (v NullableProcessResponse) IsSet() bool
func (NullableProcessResponse) MarshalJSON ¶
func (v NullableProcessResponse) MarshalJSON() ([]byte, error)
func (*NullableProcessResponse) Set ¶
func (v *NullableProcessResponse) Set(val *ProcessResponse)
func (*NullableProcessResponse) UnmarshalJSON ¶
func (v *NullableProcessResponse) UnmarshalJSON(src []byte) error
func (*NullableProcessResponse) Unset ¶
func (v *NullableProcessResponse) 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 NullableWorkerRequest ¶
type NullableWorkerRequest struct {
// contains filtered or unexported fields
}
func NewNullableWorkerRequest ¶
func NewNullableWorkerRequest(val *WorkerRequest) *NullableWorkerRequest
func (NullableWorkerRequest) Get ¶
func (v NullableWorkerRequest) Get() *WorkerRequest
func (NullableWorkerRequest) IsSet ¶
func (v NullableWorkerRequest) IsSet() bool
func (NullableWorkerRequest) MarshalJSON ¶
func (v NullableWorkerRequest) MarshalJSON() ([]byte, error)
func (*NullableWorkerRequest) Set ¶
func (v *NullableWorkerRequest) Set(val *WorkerRequest)
func (*NullableWorkerRequest) UnmarshalJSON ¶
func (v *NullableWorkerRequest) UnmarshalJSON(src []byte) error
func (*NullableWorkerRequest) Unset ¶
func (v *NullableWorkerRequest) Unset()
type NullableWorkerResponse ¶
type NullableWorkerResponse struct {
// contains filtered or unexported fields
}
func NewNullableWorkerResponse ¶
func NewNullableWorkerResponse(val *WorkerResponse) *NullableWorkerResponse
func (NullableWorkerResponse) Get ¶
func (v NullableWorkerResponse) Get() *WorkerResponse
func (NullableWorkerResponse) IsSet ¶
func (v NullableWorkerResponse) IsSet() bool
func (NullableWorkerResponse) MarshalJSON ¶
func (v NullableWorkerResponse) MarshalJSON() ([]byte, error)
func (*NullableWorkerResponse) Set ¶
func (v *NullableWorkerResponse) Set(val *WorkerResponse)
func (*NullableWorkerResponse) UnmarshalJSON ¶
func (v *NullableWorkerResponse) UnmarshalJSON(src []byte) error
func (*NullableWorkerResponse) Unset ¶
func (v *NullableWorkerResponse) Unset()
type NullableWorkersIdOrNameProcessPostIdOrNameParameter ¶
type NullableWorkersIdOrNameProcessPostIdOrNameParameter struct {
// contains filtered or unexported fields
}
func NewNullableWorkersIdOrNameProcessPostIdOrNameParameter ¶
func NewNullableWorkersIdOrNameProcessPostIdOrNameParameter(val *WorkersIdOrNameProcessPostIdOrNameParameter) *NullableWorkersIdOrNameProcessPostIdOrNameParameter
func (NullableWorkersIdOrNameProcessPostIdOrNameParameter) IsSet ¶
func (v NullableWorkersIdOrNameProcessPostIdOrNameParameter) IsSet() bool
func (NullableWorkersIdOrNameProcessPostIdOrNameParameter) MarshalJSON ¶
func (v NullableWorkersIdOrNameProcessPostIdOrNameParameter) MarshalJSON() ([]byte, error)
func (*NullableWorkersIdOrNameProcessPostIdOrNameParameter) UnmarshalJSON ¶
func (v *NullableWorkersIdOrNameProcessPostIdOrNameParameter) UnmarshalJSON(src []byte) error
func (*NullableWorkersIdOrNameProcessPostIdOrNameParameter) Unset ¶
func (v *NullableWorkersIdOrNameProcessPostIdOrNameParameter) Unset()
type ProcessRequest ¶
type ProcessRequest struct { // The input data to be processed (i.e. signed). Data string `json:"data"` Encoding *DataEncoding `json:"encoding,omitempty"` // Additional request metadata for the worker. MetaData *map[string]string `json:"metaData,omitempty"` AdditionalProperties map[string]interface{} }
ProcessRequest POJO that represents a process request.
func NewProcessRequest ¶
func NewProcessRequest(data string) *ProcessRequest
NewProcessRequest instantiates a new ProcessRequest 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 NewProcessRequestWithDefaults ¶
func NewProcessRequestWithDefaults() *ProcessRequest
NewProcessRequestWithDefaults instantiates a new ProcessRequest 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 (*ProcessRequest) GetData ¶
func (o *ProcessRequest) GetData() string
GetData returns the Data field value
func (*ProcessRequest) GetDataOk ¶
func (o *ProcessRequest) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ProcessRequest) GetEncoding ¶
func (o *ProcessRequest) GetEncoding() DataEncoding
GetEncoding returns the Encoding field value if set, zero value otherwise.
func (*ProcessRequest) GetEncodingOk ¶
func (o *ProcessRequest) GetEncodingOk() (*DataEncoding, bool)
GetEncodingOk returns a tuple with the Encoding field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessRequest) GetMetaData ¶
func (o *ProcessRequest) GetMetaData() map[string]string
GetMetaData returns the MetaData field value if set, zero value otherwise.
func (*ProcessRequest) GetMetaDataOk ¶
func (o *ProcessRequest) GetMetaDataOk() (*map[string]string, bool)
GetMetaDataOk returns a tuple with the MetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessRequest) HasEncoding ¶
func (o *ProcessRequest) HasEncoding() bool
HasEncoding returns a boolean if a field has been set.
func (*ProcessRequest) HasMetaData ¶
func (o *ProcessRequest) HasMetaData() bool
HasMetaData returns a boolean if a field has been set.
func (ProcessRequest) MarshalJSON ¶
func (o ProcessRequest) MarshalJSON() ([]byte, error)
func (*ProcessRequest) SetData ¶
func (o *ProcessRequest) SetData(v string)
SetData sets field value
func (*ProcessRequest) SetEncoding ¶
func (o *ProcessRequest) SetEncoding(v DataEncoding)
SetEncoding gets a reference to the given DataEncoding and assigns it to the Encoding field.
func (*ProcessRequest) SetMetaData ¶
func (o *ProcessRequest) SetMetaData(v map[string]string)
SetMetaData gets a reference to the given map[string]string and assigns it to the MetaData field.
func (ProcessRequest) ToMap ¶
func (o ProcessRequest) ToMap() (map[string]interface{}, error)
func (*ProcessRequest) UnmarshalJSON ¶
func (o *ProcessRequest) UnmarshalJSON(bytes []byte) (err error)
type ProcessResponse ¶
type ProcessResponse struct { // The resulting data (i.e the signature) in Base64 encoding Data *string `json:"data,omitempty"` RequestId *string `json:"requestId,omitempty"` ArchiveId *string `json:"archiveId,omitempty"` SignerCertificate *string `json:"signerCertificate,omitempty"` MetaData *map[string]string `json:"metaData,omitempty"` AdditionalProperties map[string]interface{} }
ProcessResponse POJO that represents a process response.
func NewProcessResponse ¶
func NewProcessResponse() *ProcessResponse
NewProcessResponse instantiates a new ProcessResponse 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 NewProcessResponseWithDefaults ¶
func NewProcessResponseWithDefaults() *ProcessResponse
NewProcessResponseWithDefaults instantiates a new ProcessResponse 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 (*ProcessResponse) GetArchiveId ¶
func (o *ProcessResponse) GetArchiveId() string
GetArchiveId returns the ArchiveId field value if set, zero value otherwise.
func (*ProcessResponse) GetArchiveIdOk ¶
func (o *ProcessResponse) GetArchiveIdOk() (*string, bool)
GetArchiveIdOk returns a tuple with the ArchiveId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessResponse) GetData ¶
func (o *ProcessResponse) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*ProcessResponse) GetDataOk ¶
func (o *ProcessResponse) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessResponse) GetMetaData ¶
func (o *ProcessResponse) GetMetaData() map[string]string
GetMetaData returns the MetaData field value if set, zero value otherwise.
func (*ProcessResponse) GetMetaDataOk ¶
func (o *ProcessResponse) GetMetaDataOk() (*map[string]string, bool)
GetMetaDataOk returns a tuple with the MetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessResponse) GetRequestId ¶
func (o *ProcessResponse) GetRequestId() string
GetRequestId returns the RequestId field value if set, zero value otherwise.
func (*ProcessResponse) GetRequestIdOk ¶
func (o *ProcessResponse) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessResponse) GetSignerCertificate ¶
func (o *ProcessResponse) GetSignerCertificate() string
GetSignerCertificate returns the SignerCertificate field value if set, zero value otherwise.
func (*ProcessResponse) GetSignerCertificateOk ¶
func (o *ProcessResponse) GetSignerCertificateOk() (*string, bool)
GetSignerCertificateOk returns a tuple with the SignerCertificate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessResponse) HasArchiveId ¶
func (o *ProcessResponse) HasArchiveId() bool
HasArchiveId returns a boolean if a field has been set.
func (*ProcessResponse) HasData ¶
func (o *ProcessResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*ProcessResponse) HasMetaData ¶
func (o *ProcessResponse) HasMetaData() bool
HasMetaData returns a boolean if a field has been set.
func (*ProcessResponse) HasRequestId ¶
func (o *ProcessResponse) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (*ProcessResponse) HasSignerCertificate ¶
func (o *ProcessResponse) HasSignerCertificate() bool
HasSignerCertificate returns a boolean if a field has been set.
func (ProcessResponse) MarshalJSON ¶
func (o ProcessResponse) MarshalJSON() ([]byte, error)
func (*ProcessResponse) SetArchiveId ¶
func (o *ProcessResponse) SetArchiveId(v string)
SetArchiveId gets a reference to the given string and assigns it to the ArchiveId field.
func (*ProcessResponse) SetData ¶
func (o *ProcessResponse) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*ProcessResponse) SetMetaData ¶
func (o *ProcessResponse) SetMetaData(v map[string]string)
SetMetaData gets a reference to the given map[string]string and assigns it to the MetaData field.
func (*ProcessResponse) SetRequestId ¶
func (o *ProcessResponse) SetRequestId(v string)
SetRequestId gets a reference to the given string and assigns it to the RequestId field.
func (*ProcessResponse) SetSignerCertificate ¶
func (o *ProcessResponse) SetSignerCertificate(v string)
SetSignerCertificate gets a reference to the given string and assigns it to the SignerCertificate field.
func (ProcessResponse) ToMap ¶
func (o ProcessResponse) ToMap() (map[string]interface{}, error)
func (*ProcessResponse) UnmarshalJSON ¶
func (o *ProcessResponse) UnmarshalJSON(bytes []byte) (err error)
type WorkerRequest ¶
type WorkerRequest struct { // Worker properties list Properties *map[string]string `json:"properties,omitempty"` AdditionalProperties map[string]interface{} }
WorkerRequest Represents a worker request.
func NewWorkerRequest ¶
func NewWorkerRequest() *WorkerRequest
NewWorkerRequest instantiates a new WorkerRequest 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 NewWorkerRequestWithDefaults ¶
func NewWorkerRequestWithDefaults() *WorkerRequest
NewWorkerRequestWithDefaults instantiates a new WorkerRequest 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 (*WorkerRequest) GetProperties ¶
func (o *WorkerRequest) GetProperties() map[string]string
GetProperties returns the Properties field value if set, zero value otherwise.
func (*WorkerRequest) GetPropertiesOk ¶
func (o *WorkerRequest) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerRequest) HasProperties ¶
func (o *WorkerRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (WorkerRequest) MarshalJSON ¶
func (o WorkerRequest) MarshalJSON() ([]byte, error)
func (*WorkerRequest) SetProperties ¶
func (o *WorkerRequest) SetProperties(v map[string]string)
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
func (WorkerRequest) ToMap ¶
func (o WorkerRequest) ToMap() (map[string]interface{}, error)
func (*WorkerRequest) UnmarshalJSON ¶
func (o *WorkerRequest) UnmarshalJSON(bytes []byte) (err error)
type WorkerResponse ¶
type WorkerResponse struct { ResponseMessage *string `json:"responseMessage,omitempty"` AdditionalProperties map[string]interface{} }
WorkerResponse Represents a worker response.
func NewWorkerResponse ¶
func NewWorkerResponse() *WorkerResponse
NewWorkerResponse instantiates a new WorkerResponse 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 NewWorkerResponseWithDefaults ¶
func NewWorkerResponseWithDefaults() *WorkerResponse
NewWorkerResponseWithDefaults instantiates a new WorkerResponse 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 (*WorkerResponse) GetResponseMessage ¶
func (o *WorkerResponse) GetResponseMessage() string
GetResponseMessage returns the ResponseMessage field value if set, zero value otherwise.
func (*WorkerResponse) GetResponseMessageOk ¶
func (o *WorkerResponse) GetResponseMessageOk() (*string, bool)
GetResponseMessageOk returns a tuple with the ResponseMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerResponse) HasResponseMessage ¶
func (o *WorkerResponse) HasResponseMessage() bool
HasResponseMessage returns a boolean if a field has been set.
func (WorkerResponse) MarshalJSON ¶
func (o WorkerResponse) MarshalJSON() ([]byte, error)
func (*WorkerResponse) SetResponseMessage ¶
func (o *WorkerResponse) SetResponseMessage(v string)
SetResponseMessage gets a reference to the given string and assigns it to the ResponseMessage field.
func (WorkerResponse) ToMap ¶
func (o WorkerResponse) ToMap() (map[string]interface{}, error)
func (*WorkerResponse) UnmarshalJSON ¶
func (o *WorkerResponse) UnmarshalJSON(bytes []byte) (err error)
type WorkersIdOrNameProcessPostIdOrNameParameter ¶
type WorkersIdOrNameProcessPostIdOrNameParameter struct {
// contains filtered or unexported fields
}
WorkersIdOrNameProcessPostIdOrNameParameter struct for WorkersIdOrNameProcessPostIdOrNameParameter
func (*WorkersIdOrNameProcessPostIdOrNameParameter) MarshalJSON ¶
func (src *WorkersIdOrNameProcessPostIdOrNameParameter) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*WorkersIdOrNameProcessPostIdOrNameParameter) UnmarshalJSON ¶
func (dst *WorkersIdOrNameProcessPostIdOrNameParameter) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct