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 ApiCreateWorkerRequest
- type ApiCreateWorkerWithIdRequest
- type ApiDeleteWorkerWithIdRequest
- type ApiPatchWorkerWithIdRequest
- type ApiSignRequest
- type ApiUpdateWorkerWithIdRequest
- type BasicAuth
- type Configuration
- type DataEncoding
- 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 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 WorkersAPIService
- func (a *WorkersAPIService) CreateWorker(ctx context.Context) ApiCreateWorkerRequest
- func (a *WorkersAPIService) CreateWorkerExecute(r ApiCreateWorkerRequest) (*http.Response, error)
- func (a *WorkersAPIService) CreateWorkerWithId(ctx context.Context, id int32) ApiCreateWorkerWithIdRequest
- func (a *WorkersAPIService) CreateWorkerWithIdExecute(r ApiCreateWorkerWithIdRequest) (*http.Response, error)
- func (a *WorkersAPIService) DeleteWorkerWithId(ctx context.Context, id int32) ApiDeleteWorkerWithIdRequest
- func (a *WorkersAPIService) DeleteWorkerWithIdExecute(r ApiDeleteWorkerWithIdRequest) (*http.Response, error)
- func (a *WorkersAPIService) PatchWorkerWithId(ctx context.Context, id int32) ApiPatchWorkerWithIdRequest
- func (a *WorkersAPIService) PatchWorkerWithIdExecute(r ApiPatchWorkerWithIdRequest) (*http.Response, error)
- func (a *WorkersAPIService) Sign(ctx context.Context, workerName string) ApiSignRequest
- func (a *WorkersAPIService) SignExecute(r ApiSignRequest) (*ProcessResponse, *http.Response, error)
- func (a *WorkersAPIService) UpdateWorkerWithId(ctx context.Context, id int32) ApiUpdateWorkerWithIdRequest
- func (a *WorkersAPIService) UpdateWorkerWithIdExecute(r ApiUpdateWorkerWithIdRequest) (*http.Response, error)
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 { WorkersAPI *WorkersAPIService // 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 ApiCreateWorkerRequest ¶ added in v0.1.1
type ApiCreateWorkerRequest struct { ApiService *WorkersAPIService // contains filtered or unexported fields }
func (ApiCreateWorkerRequest) Execute ¶ added in v0.1.1
func (r ApiCreateWorkerRequest) Execute() (*http.Response, error)
func (ApiCreateWorkerRequest) WorkerRequest ¶ added in v0.1.1
func (r ApiCreateWorkerRequest) WorkerRequest(workerRequest WorkerRequest) ApiCreateWorkerRequest
Properties of the worker to be created
type ApiCreateWorkerWithIdRequest ¶ added in v0.1.1
type ApiCreateWorkerWithIdRequest struct { ApiService *WorkersAPIService // contains filtered or unexported fields }
func (ApiCreateWorkerWithIdRequest) Execute ¶ added in v0.1.1
func (r ApiCreateWorkerWithIdRequest) Execute() (*http.Response, error)
func (ApiCreateWorkerWithIdRequest) WorkerRequest ¶ added in v0.1.1
func (r ApiCreateWorkerWithIdRequest) WorkerRequest(workerRequest WorkerRequest) ApiCreateWorkerWithIdRequest
The request
type ApiDeleteWorkerWithIdRequest ¶ added in v0.1.1
type ApiDeleteWorkerWithIdRequest struct { ApiService *WorkersAPIService // contains filtered or unexported fields }
type ApiPatchWorkerWithIdRequest ¶ added in v0.1.1
type ApiPatchWorkerWithIdRequest struct { ApiService *WorkersAPIService // contains filtered or unexported fields }
func (ApiPatchWorkerWithIdRequest) Execute ¶ added in v0.1.1
func (r ApiPatchWorkerWithIdRequest) Execute() (*http.Response, error)
func (ApiPatchWorkerWithIdRequest) WorkerRequest ¶ added in v0.1.1
func (r ApiPatchWorkerWithIdRequest) WorkerRequest(workerRequest WorkerRequest) ApiPatchWorkerWithIdRequest
The request
type ApiSignRequest ¶ added in v0.1.1
type ApiSignRequest struct { ApiService *WorkersAPIService // contains filtered or unexported fields }
func (ApiSignRequest) Execute ¶ added in v0.1.1
func (r ApiSignRequest) Execute() (*ProcessResponse, *http.Response, error)
func (ApiSignRequest) ProcessRequest ¶ added in v0.1.1
func (r ApiSignRequest) ProcessRequest(processRequest ProcessRequest) ApiSignRequest
The request
type ApiUpdateWorkerWithIdRequest ¶ added in v0.1.1
type ApiUpdateWorkerWithIdRequest struct { ApiService *WorkersAPIService // contains filtered or unexported fields }
func (ApiUpdateWorkerWithIdRequest) Execute ¶ added in v0.1.1
func (r ApiUpdateWorkerWithIdRequest) Execute() (*http.Response, error)
func (ApiUpdateWorkerWithIdRequest) WorkerRequest ¶ added in v0.1.1
func (r ApiUpdateWorkerWithIdRequest) WorkerRequest(workerRequest WorkerRequest) ApiUpdateWorkerWithIdRequest
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 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 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 WorkersAPIService ¶ added in v0.1.1
type WorkersAPIService service
WorkersAPIService WorkersAPI service
func (*WorkersAPIService) CreateWorker ¶ added in v0.1.1
func (a *WorkersAPIService) CreateWorker(ctx context.Context) ApiCreateWorkerRequest
CreateWorker Create a new worker given a list of 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 ApiCreateWorkerRequest
func (*WorkersAPIService) CreateWorkerExecute ¶ added in v0.1.1
func (a *WorkersAPIService) CreateWorkerExecute(r ApiCreateWorkerRequest) (*http.Response, error)
Execute executes the request
func (*WorkersAPIService) CreateWorkerWithId ¶ added in v0.1.1
func (a *WorkersAPIService) CreateWorkerWithId(ctx context.Context, id int32) ApiCreateWorkerWithIdRequest
CreateWorkerWithId 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 ApiCreateWorkerWithIdRequest
func (*WorkersAPIService) CreateWorkerWithIdExecute ¶ added in v0.1.1
func (a *WorkersAPIService) CreateWorkerWithIdExecute(r ApiCreateWorkerWithIdRequest) (*http.Response, error)
Execute executes the request
func (*WorkersAPIService) DeleteWorkerWithId ¶ added in v0.1.1
func (a *WorkersAPIService) DeleteWorkerWithId(ctx context.Context, id int32) ApiDeleteWorkerWithIdRequest
DeleteWorkerWithId 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 ApiDeleteWorkerWithIdRequest
func (*WorkersAPIService) DeleteWorkerWithIdExecute ¶ added in v0.1.1
func (a *WorkersAPIService) DeleteWorkerWithIdExecute(r ApiDeleteWorkerWithIdRequest) (*http.Response, error)
Execute executes the request
func (*WorkersAPIService) PatchWorkerWithId ¶ added in v0.1.1
func (a *WorkersAPIService) PatchWorkerWithId(ctx context.Context, id int32) ApiPatchWorkerWithIdRequest
PatchWorkerWithId 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 ApiPatchWorkerWithIdRequest
func (*WorkersAPIService) PatchWorkerWithIdExecute ¶ added in v0.1.1
func (a *WorkersAPIService) PatchWorkerWithIdExecute(r ApiPatchWorkerWithIdRequest) (*http.Response, error)
Execute executes the request
func (*WorkersAPIService) Sign ¶ added in v0.1.1
func (a *WorkersAPIService) Sign(ctx context.Context, workerName string) ApiSignRequest
Sign Submit data for processing
Submit data/document/file for 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 workerName The name of the worker to use for signing @return ApiSignRequest
func (*WorkersAPIService) SignExecute ¶ added in v0.1.1
func (a *WorkersAPIService) SignExecute(r ApiSignRequest) (*ProcessResponse, *http.Response, error)
Execute executes the request
@return ProcessResponse
func (*WorkersAPIService) UpdateWorkerWithId ¶ added in v0.1.1
func (a *WorkersAPIService) UpdateWorkerWithId(ctx context.Context, id int32) ApiUpdateWorkerWithIdRequest
UpdateWorkerWithId 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 ApiUpdateWorkerWithIdRequest
func (*WorkersAPIService) UpdateWorkerWithIdExecute ¶ added in v0.1.1
func (a *WorkersAPIService) UpdateWorkerWithIdExecute(r ApiUpdateWorkerWithIdRequest) (*http.Response, error)
Execute executes the request