Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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 AccountAPI
- type AccountAPIGetAccountRequest
- type AccountAPIListTransactionsRequest
- type AccountAPIService
- func (a *AccountAPIService) GetAccount(ctx context.Context) AccountAPIGetAccountRequest
- func (a *AccountAPIService) GetAccountExecute(r AccountAPIGetAccountRequest) (*AccountInfoResponse, *http.Response, error)
- func (a *AccountAPIService) ListTransactions(ctx context.Context) AccountAPIListTransactionsRequest
- func (a *AccountAPIService) ListTransactionsExecute(r AccountAPIListTransactionsRequest) (*TransactionsResponse, *http.Response, error)
- type AccountInfoResponse
- func (o *AccountInfoResponse) GetCredits() int32
- func (o *AccountInfoResponse) GetCreditsOk() (*int32, bool)
- func (o *AccountInfoResponse) GetEmail() string
- func (o *AccountInfoResponse) GetEmailOk() (*string, bool)
- func (o *AccountInfoResponse) HasEmail() bool
- func (o AccountInfoResponse) MarshalJSON() ([]byte, error)
- func (o *AccountInfoResponse) SetCredits(v int32)
- func (o *AccountInfoResponse) SetEmail(v string)
- func (o *AccountInfoResponse) SetEmailNil()
- func (o AccountInfoResponse) ToMap() (map[string]interface{}, error)
- func (o *AccountInfoResponse) UnmarshalJSON(data []byte) (err error)
- func (o *AccountInfoResponse) UnsetEmail()
- type BasicAuth
- type Configuration
- type CreatePdfRequest
- func (o *CreatePdfRequest) GetData() map[string]interface{}
- func (o *CreatePdfRequest) GetDataOk() (map[string]interface{}, bool)
- func (o *CreatePdfRequest) GetExpiration() int32
- func (o *CreatePdfRequest) GetExpirationOk() (*int32, bool)
- func (o *CreatePdfRequest) GetExportType() ExportType
- func (o *CreatePdfRequest) GetExportTypeOk() (*ExportType, bool)
- func (o *CreatePdfRequest) GetFilename() string
- func (o *CreatePdfRequest) GetFilenameOk() (*string, bool)
- func (o *CreatePdfRequest) GetS3Bucket() string
- func (o *CreatePdfRequest) GetS3BucketOk() (*string, bool)
- func (o *CreatePdfRequest) GetS3Filepath() string
- func (o *CreatePdfRequest) GetS3FilepathOk() (*string, bool)
- func (o *CreatePdfRequest) GetStoreS3() bool
- func (o *CreatePdfRequest) GetStoreS3Ok() (*bool, bool)
- func (o *CreatePdfRequest) GetTemplateId() string
- func (o *CreatePdfRequest) GetTemplateIdOk() (*string, bool)
- func (o *CreatePdfRequest) HasExpiration() bool
- func (o *CreatePdfRequest) HasExportType() bool
- func (o *CreatePdfRequest) HasFilename() bool
- func (o *CreatePdfRequest) HasS3Bucket() bool
- func (o *CreatePdfRequest) HasS3Filepath() bool
- func (o *CreatePdfRequest) HasStoreS3() bool
- func (o CreatePdfRequest) MarshalJSON() ([]byte, error)
- func (o *CreatePdfRequest) SetData(v map[string]interface{})
- func (o *CreatePdfRequest) SetExpiration(v int32)
- func (o *CreatePdfRequest) SetExportType(v ExportType)
- func (o *CreatePdfRequest) SetFilename(v string)
- func (o *CreatePdfRequest) SetFilenameNil()
- func (o *CreatePdfRequest) SetS3Bucket(v string)
- func (o *CreatePdfRequest) SetS3BucketNil()
- func (o *CreatePdfRequest) SetS3Filepath(v string)
- func (o *CreatePdfRequest) SetS3FilepathNil()
- func (o *CreatePdfRequest) SetStoreS3(v bool)
- func (o *CreatePdfRequest) SetTemplateId(v string)
- func (o CreatePdfRequest) ToMap() (map[string]interface{}, error)
- func (o *CreatePdfRequest) UnmarshalJSON(data []byte) (err error)
- func (o *CreatePdfRequest) UnsetFilename()
- func (o *CreatePdfRequest) UnsetS3Bucket()
- func (o *CreatePdfRequest) UnsetS3Filepath()
- type CreatePdfResponse
- func (o *CreatePdfResponse) GetCreditsRemaining() int32
- func (o *CreatePdfResponse) GetCreditsRemainingOk() (*int32, bool)
- func (o *CreatePdfResponse) GetExpiresIn() int32
- func (o *CreatePdfResponse) GetExpiresInOk() (*int32, bool)
- func (o *CreatePdfResponse) GetFilename() string
- func (o *CreatePdfResponse) GetFilenameOk() (*string, bool)
- func (o *CreatePdfResponse) GetUrl() string
- func (o *CreatePdfResponse) GetUrlOk() (*string, bool)
- func (o CreatePdfResponse) MarshalJSON() ([]byte, error)
- func (o *CreatePdfResponse) SetCreditsRemaining(v int32)
- func (o *CreatePdfResponse) SetExpiresIn(v int32)
- func (o *CreatePdfResponse) SetFilename(v string)
- func (o *CreatePdfResponse) SetUrl(v string)
- func (o CreatePdfResponse) ToMap() (map[string]interface{}, error)
- func (o *CreatePdfResponse) UnmarshalJSON(data []byte) (err error)
- type ExportType
- type GenericOpenAPIError
- type HTTPValidationError
- func (o *HTTPValidationError) GetDetail() []ValidationError
- func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
- func (o *HTTPValidationError) HasDetail() bool
- func (o HTTPValidationError) MarshalJSON() ([]byte, error)
- func (o *HTTPValidationError) SetDetail(v []ValidationError)
- func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
- type IntegrationsAPI
- type IntegrationsAPIDeleteS3ConfigRequest
- type IntegrationsAPIGetS3ConfigRequest
- type IntegrationsAPISaveS3ConfigRequest
- type IntegrationsAPIService
- func (a *IntegrationsAPIService) DeleteS3Config(ctx context.Context) IntegrationsAPIDeleteS3ConfigRequest
- func (a *IntegrationsAPIService) DeleteS3ConfigExecute(r IntegrationsAPIDeleteS3ConfigRequest) (*S3SuccessResponse, *http.Response, error)
- func (a *IntegrationsAPIService) GetS3Config(ctx context.Context) IntegrationsAPIGetS3ConfigRequest
- func (a *IntegrationsAPIService) GetS3ConfigExecute(r IntegrationsAPIGetS3ConfigRequest) (*S3ConfigResponse, *http.Response, error)
- func (a *IntegrationsAPIService) SaveS3Config(ctx context.Context) IntegrationsAPISaveS3ConfigRequest
- func (a *IntegrationsAPIService) SaveS3ConfigExecute(r IntegrationsAPISaveS3ConfigRequest) (*S3SuccessResponse, *http.Response, error)
- func (a *IntegrationsAPIService) TestS3Connection(ctx context.Context) IntegrationsAPITestS3ConnectionRequest
- func (a *IntegrationsAPIService) TestS3ConnectionExecute(r IntegrationsAPITestS3ConnectionRequest) (*S3TestResponse, *http.Response, error)
- type IntegrationsAPITestS3ConnectionRequest
- type LocationInner
- type MappedNullable
- type NullableAccountInfoResponse
- func (v NullableAccountInfoResponse) Get() *AccountInfoResponse
- func (v NullableAccountInfoResponse) IsSet() bool
- func (v NullableAccountInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAccountInfoResponse) Set(val *AccountInfoResponse)
- func (v *NullableAccountInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAccountInfoResponse) Unset()
- type NullableBool
- type NullableCreatePdfRequest
- func (v NullableCreatePdfRequest) Get() *CreatePdfRequest
- func (v NullableCreatePdfRequest) IsSet() bool
- func (v NullableCreatePdfRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePdfRequest) Set(val *CreatePdfRequest)
- func (v *NullableCreatePdfRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePdfRequest) Unset()
- type NullableCreatePdfResponse
- func (v NullableCreatePdfResponse) Get() *CreatePdfResponse
- func (v NullableCreatePdfResponse) IsSet() bool
- func (v NullableCreatePdfResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePdfResponse) Set(val *CreatePdfResponse)
- func (v *NullableCreatePdfResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePdfResponse) Unset()
- type NullableExportType
- type NullableFloat32
- type NullableFloat64
- type NullableHTTPValidationError
- func (v NullableHTTPValidationError) Get() *HTTPValidationError
- func (v NullableHTTPValidationError) IsSet() bool
- func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
- func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableHTTPValidationError) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLocationInner
- func (v NullableLocationInner) Get() *LocationInner
- func (v NullableLocationInner) IsSet() bool
- func (v NullableLocationInner) MarshalJSON() ([]byte, error)
- func (v *NullableLocationInner) Set(val *LocationInner)
- func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
- func (v *NullableLocationInner) Unset()
- type NullableS3ConfigRequest
- func (v NullableS3ConfigRequest) Get() *S3ConfigRequest
- func (v NullableS3ConfigRequest) IsSet() bool
- func (v NullableS3ConfigRequest) MarshalJSON() ([]byte, error)
- func (v *NullableS3ConfigRequest) Set(val *S3ConfigRequest)
- func (v *NullableS3ConfigRequest) UnmarshalJSON(src []byte) error
- func (v *NullableS3ConfigRequest) Unset()
- type NullableS3ConfigResponse
- func (v NullableS3ConfigResponse) Get() *S3ConfigResponse
- func (v NullableS3ConfigResponse) IsSet() bool
- func (v NullableS3ConfigResponse) MarshalJSON() ([]byte, error)
- func (v *NullableS3ConfigResponse) Set(val *S3ConfigResponse)
- func (v *NullableS3ConfigResponse) UnmarshalJSON(src []byte) error
- func (v *NullableS3ConfigResponse) Unset()
- type NullableS3SuccessResponse
- func (v NullableS3SuccessResponse) Get() *S3SuccessResponse
- func (v NullableS3SuccessResponse) IsSet() bool
- func (v NullableS3SuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableS3SuccessResponse) Set(val *S3SuccessResponse)
- func (v *NullableS3SuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableS3SuccessResponse) Unset()
- type NullableS3TestResponse
- func (v NullableS3TestResponse) Get() *S3TestResponse
- func (v NullableS3TestResponse) IsSet() bool
- func (v NullableS3TestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableS3TestResponse) Set(val *S3TestResponse)
- func (v *NullableS3TestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableS3TestResponse) Unset()
- type NullableString
- type NullableTemplateField
- func (v NullableTemplateField) Get() *TemplateField
- func (v NullableTemplateField) IsSet() bool
- func (v NullableTemplateField) MarshalJSON() ([]byte, error)
- func (v *NullableTemplateField) Set(val *TemplateField)
- func (v *NullableTemplateField) UnmarshalJSON(src []byte) error
- func (v *NullableTemplateField) Unset()
- type NullableTemplateListItem
- func (v NullableTemplateListItem) Get() *TemplateListItem
- func (v NullableTemplateListItem) IsSet() bool
- func (v NullableTemplateListItem) MarshalJSON() ([]byte, error)
- func (v *NullableTemplateListItem) Set(val *TemplateListItem)
- func (v *NullableTemplateListItem) UnmarshalJSON(src []byte) error
- func (v *NullableTemplateListItem) Unset()
- type NullableTemplatesListResponse
- func (v NullableTemplatesListResponse) Get() *TemplatesListResponse
- func (v NullableTemplatesListResponse) IsSet() bool
- func (v NullableTemplatesListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTemplatesListResponse) Set(val *TemplatesListResponse)
- func (v *NullableTemplatesListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTemplatesListResponse) Unset()
- type NullableTime
- type NullableTransaction
- func (v NullableTransaction) Get() *Transaction
- func (v NullableTransaction) IsSet() bool
- func (v NullableTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableTransaction) Set(val *Transaction)
- func (v *NullableTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableTransaction) Unset()
- type NullableTransactionsResponse
- func (v NullableTransactionsResponse) Get() *TransactionsResponse
- func (v NullableTransactionsResponse) IsSet() bool
- func (v NullableTransactionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionsResponse) Set(val *TransactionsResponse)
- func (v *NullableTransactionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionsResponse) Unset()
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type PDFAPI
- type PDFAPICreatePdfRequest
- type PDFAPIService
- type S3ConfigRequest
- func (o *S3ConfigRequest) GetAccessKeyId() string
- func (o *S3ConfigRequest) GetAccessKeyIdOk() (*string, bool)
- func (o *S3ConfigRequest) GetBucketName() string
- func (o *S3ConfigRequest) GetBucketNameOk() (*string, bool)
- func (o *S3ConfigRequest) GetDefaultPrefix() string
- func (o *S3ConfigRequest) GetDefaultPrefixOk() (*string, bool)
- func (o *S3ConfigRequest) GetEndpointUrl() string
- func (o *S3ConfigRequest) GetEndpointUrlOk() (*string, bool)
- func (o *S3ConfigRequest) GetSecretAccessKey() string
- func (o *S3ConfigRequest) GetSecretAccessKeyOk() (*string, bool)
- func (o *S3ConfigRequest) HasDefaultPrefix() bool
- func (o *S3ConfigRequest) HasSecretAccessKey() bool
- func (o S3ConfigRequest) MarshalJSON() ([]byte, error)
- func (o *S3ConfigRequest) SetAccessKeyId(v string)
- func (o *S3ConfigRequest) SetBucketName(v string)
- func (o *S3ConfigRequest) SetDefaultPrefix(v string)
- func (o *S3ConfigRequest) SetEndpointUrl(v string)
- func (o *S3ConfigRequest) SetSecretAccessKey(v string)
- func (o *S3ConfigRequest) SetSecretAccessKeyNil()
- func (o S3ConfigRequest) ToMap() (map[string]interface{}, error)
- func (o *S3ConfigRequest) UnmarshalJSON(data []byte) (err error)
- func (o *S3ConfigRequest) UnsetSecretAccessKey()
- type S3ConfigResponse
- func (o *S3ConfigResponse) GetAccessKeyId() string
- func (o *S3ConfigResponse) GetAccessKeyIdOk() (*string, bool)
- func (o *S3ConfigResponse) GetBucketName() string
- func (o *S3ConfigResponse) GetBucketNameOk() (*string, bool)
- func (o *S3ConfigResponse) GetConfigured() bool
- func (o *S3ConfigResponse) GetConfiguredOk() (*bool, bool)
- func (o *S3ConfigResponse) GetDefaultPrefix() string
- func (o *S3ConfigResponse) GetDefaultPrefixOk() (*string, bool)
- func (o *S3ConfigResponse) GetEndpointUrl() string
- func (o *S3ConfigResponse) GetEndpointUrlOk() (*string, bool)
- func (o *S3ConfigResponse) GetSecretAccessKeyMasked() string
- func (o *S3ConfigResponse) GetSecretAccessKeyMaskedOk() (*string, bool)
- func (o S3ConfigResponse) MarshalJSON() ([]byte, error)
- func (o *S3ConfigResponse) SetAccessKeyId(v string)
- func (o *S3ConfigResponse) SetBucketName(v string)
- func (o *S3ConfigResponse) SetConfigured(v bool)
- func (o *S3ConfigResponse) SetDefaultPrefix(v string)
- func (o *S3ConfigResponse) SetEndpointUrl(v string)
- func (o *S3ConfigResponse) SetSecretAccessKeyMasked(v string)
- func (o S3ConfigResponse) ToMap() (map[string]interface{}, error)
- func (o *S3ConfigResponse) UnmarshalJSON(data []byte) (err error)
- type S3SuccessResponse
- func (o *S3SuccessResponse) GetSuccess() bool
- func (o *S3SuccessResponse) GetSuccessOk() (*bool, bool)
- func (o S3SuccessResponse) MarshalJSON() ([]byte, error)
- func (o *S3SuccessResponse) SetSuccess(v bool)
- func (o S3SuccessResponse) ToMap() (map[string]interface{}, error)
- func (o *S3SuccessResponse) UnmarshalJSON(data []byte) (err error)
- type S3TestResponse
- func (o *S3TestResponse) GetMessage() string
- func (o *S3TestResponse) GetMessageOk() (*string, bool)
- func (o *S3TestResponse) GetSuccess() bool
- func (o *S3TestResponse) GetSuccessOk() (*bool, bool)
- func (o S3TestResponse) MarshalJSON() ([]byte, error)
- func (o *S3TestResponse) SetMessage(v string)
- func (o *S3TestResponse) SetSuccess(v bool)
- func (o S3TestResponse) ToMap() (map[string]interface{}, error)
- func (o *S3TestResponse) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TemplateField
- func (o *TemplateField) GetHelpText() string
- func (o *TemplateField) GetHelpTextOk() (*string, bool)
- func (o *TemplateField) GetKey() string
- func (o *TemplateField) GetKeyOk() (*string, bool)
- func (o *TemplateField) GetLabel() string
- func (o *TemplateField) GetLabelOk() (*string, bool)
- func (o *TemplateField) GetRequired() bool
- func (o *TemplateField) GetRequiredOk() (*bool, bool)
- func (o *TemplateField) GetType() string
- func (o *TemplateField) GetTypeOk() (*string, bool)
- func (o *TemplateField) HasHelpText() bool
- func (o *TemplateField) HasRequired() bool
- func (o *TemplateField) HasType() bool
- func (o TemplateField) MarshalJSON() ([]byte, error)
- func (o *TemplateField) SetHelpText(v string)
- func (o *TemplateField) SetHelpTextNil()
- func (o *TemplateField) SetKey(v string)
- func (o *TemplateField) SetLabel(v string)
- func (o *TemplateField) SetRequired(v bool)
- func (o *TemplateField) SetType(v string)
- func (o TemplateField) ToMap() (map[string]interface{}, error)
- func (o *TemplateField) UnmarshalJSON(data []byte) (err error)
- func (o *TemplateField) UnsetHelpText()
- type TemplateListItem
- func (o *TemplateListItem) GetCreatedAt() string
- func (o *TemplateListItem) GetCreatedAtOk() (*string, bool)
- func (o *TemplateListItem) GetId() string
- func (o *TemplateListItem) GetIdOk() (*string, bool)
- func (o *TemplateListItem) GetName() string
- func (o *TemplateListItem) GetNameOk() (*string, bool)
- func (o *TemplateListItem) GetUpdatedAt() string
- func (o *TemplateListItem) GetUpdatedAtOk() (*string, bool)
- func (o TemplateListItem) MarshalJSON() ([]byte, error)
- func (o *TemplateListItem) SetCreatedAt(v string)
- func (o *TemplateListItem) SetId(v string)
- func (o *TemplateListItem) SetName(v string)
- func (o *TemplateListItem) SetUpdatedAt(v string)
- func (o TemplateListItem) ToMap() (map[string]interface{}, error)
- func (o *TemplateListItem) UnmarshalJSON(data []byte) (err error)
- type TemplatesAPI
- type TemplatesAPIGetTemplateFieldsRequest
- type TemplatesAPIListTemplatesRequest
- type TemplatesAPIService
- func (a *TemplatesAPIService) GetTemplateFields(ctx context.Context, templateId string) TemplatesAPIGetTemplateFieldsRequest
- func (a *TemplatesAPIService) GetTemplateFieldsExecute(r TemplatesAPIGetTemplateFieldsRequest) ([]TemplateField, *http.Response, error)
- func (a *TemplatesAPIService) ListTemplates(ctx context.Context) TemplatesAPIListTemplatesRequest
- func (a *TemplatesAPIService) ListTemplatesExecute(r TemplatesAPIListTemplatesRequest) (*TemplatesListResponse, *http.Response, error)
- type TemplatesListResponse
- func (o *TemplatesListResponse) GetTemplates() []TemplateListItem
- func (o *TemplatesListResponse) GetTemplatesOk() ([]TemplateListItem, bool)
- func (o TemplatesListResponse) MarshalJSON() ([]byte, error)
- func (o *TemplatesListResponse) SetTemplates(v []TemplateListItem)
- func (o TemplatesListResponse) ToMap() (map[string]interface{}, error)
- func (o *TemplatesListResponse) UnmarshalJSON(data []byte) (err error)
- type Transaction
- func (o *Transaction) GetCreatedAt() string
- func (o *Transaction) GetCreatedAtOk() (*string, bool)
- func (o *Transaction) GetCredits() int32
- func (o *Transaction) GetCreditsOk() (*int32, bool)
- func (o *Transaction) GetExecTm() int32
- func (o *Transaction) GetExecTmOk() (*int32, bool)
- func (o *Transaction) GetTemplateId() string
- func (o *Transaction) GetTemplateIdOk() (*string, bool)
- func (o *Transaction) GetTransactionRef() string
- func (o *Transaction) GetTransactionRefOk() (*string, bool)
- func (o *Transaction) GetTransactionType() string
- func (o *Transaction) GetTransactionTypeOk() (*string, bool)
- func (o *Transaction) HasExecTm() bool
- func (o *Transaction) HasTemplateId() bool
- func (o Transaction) MarshalJSON() ([]byte, error)
- func (o *Transaction) SetCreatedAt(v string)
- func (o *Transaction) SetCredits(v int32)
- func (o *Transaction) SetExecTm(v int32)
- func (o *Transaction) SetExecTmNil()
- func (o *Transaction) SetTemplateId(v string)
- func (o *Transaction) SetTemplateIdNil()
- func (o *Transaction) SetTransactionRef(v string)
- func (o *Transaction) SetTransactionType(v string)
- func (o Transaction) ToMap() (map[string]interface{}, error)
- func (o *Transaction) UnmarshalJSON(data []byte) (err error)
- func (o *Transaction) UnsetExecTm()
- func (o *Transaction) UnsetTemplateId()
- type TransactionsResponse
- func (o *TransactionsResponse) GetLimit() int32
- func (o *TransactionsResponse) GetLimitOk() (*int32, bool)
- func (o *TransactionsResponse) GetOffset() int32
- func (o *TransactionsResponse) GetOffsetOk() (*int32, bool)
- func (o *TransactionsResponse) GetTotal() int32
- func (o *TransactionsResponse) GetTotalOk() (*int32, bool)
- func (o *TransactionsResponse) GetTransactions() []Transaction
- func (o *TransactionsResponse) GetTransactionsOk() ([]Transaction, bool)
- func (o TransactionsResponse) MarshalJSON() ([]byte, error)
- func (o *TransactionsResponse) SetLimit(v int32)
- func (o *TransactionsResponse) SetOffset(v int32)
- func (o *TransactionsResponse) SetTotal(v int32)
- func (o *TransactionsResponse) SetTransactions(v []Transaction)
- func (o TransactionsResponse) ToMap() (map[string]interface{}, error)
- func (o *TransactionsResponse) UnmarshalJSON(data []byte) (err error)
- type ValidationError
- func (o *ValidationError) GetLoc() []LocationInner
- func (o *ValidationError) GetLocOk() ([]LocationInner, bool)
- func (o *ValidationError) GetMsg() string
- func (o *ValidationError) GetMsgOk() (*string, bool)
- func (o *ValidationError) GetType() string
- func (o *ValidationError) GetTypeOk() (*string, bool)
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetLoc(v []LocationInner)
- func (o *ValidationError) SetMsg(v string)
- func (o *ValidationError) SetType(v string)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
- func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // 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") )
var AllowedExportTypeEnumValues = []ExportType{
"url",
"binary",
}
All allowed values of ExportType 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 {
AccountAPI AccountAPI
IntegrationsAPI IntegrationsAPI
PDFAPI PDFAPI
TemplatesAPI TemplatesAPI
// contains filtered or unexported fields
}
APIClient manages communication with the TemplateFox API API v1.1.3 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 ¶
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 AccountAPI ¶
type AccountAPI interface {
/*
GetAccount Get account info
Get account information including remaining credits.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Usage:** Check credit balance before performing operations.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return AccountAPIGetAccountRequest
*/
GetAccount(ctx context.Context) AccountAPIGetAccountRequest
// GetAccountExecute executes the request
// @return AccountInfoResponse
GetAccountExecute(r AccountAPIGetAccountRequest) (*AccountInfoResponse, *http.Response, error)
/*
ListTransactions List transactions
List transaction history for the authenticated user.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Pagination:** Use `limit` and `offset` query parameters.
**Transaction types:**
- `PDFGEN`: PDF generation (consumes credits)
- `REFUND`: Credit refund (on failed generation)
- `PURCHASE`: Credit purchase
- `BONUS`: Bonus credits
**Credits field:**
- Positive value = credits consumed
- Negative value = credits added
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return AccountAPIListTransactionsRequest
*/
ListTransactions(ctx context.Context) AccountAPIListTransactionsRequest
// ListTransactionsExecute executes the request
// @return TransactionsResponse
ListTransactionsExecute(r AccountAPIListTransactionsRequest) (*TransactionsResponse, *http.Response, error)
}
type AccountAPIGetAccountRequest ¶
type AccountAPIGetAccountRequest struct {
ApiService AccountAPI
// contains filtered or unexported fields
}
func (AccountAPIGetAccountRequest) Execute ¶
func (r AccountAPIGetAccountRequest) Execute() (*AccountInfoResponse, *http.Response, error)
type AccountAPIListTransactionsRequest ¶
type AccountAPIListTransactionsRequest struct {
ApiService AccountAPI
// contains filtered or unexported fields
}
func (AccountAPIListTransactionsRequest) Execute ¶
func (r AccountAPIListTransactionsRequest) Execute() (*TransactionsResponse, *http.Response, error)
func (AccountAPIListTransactionsRequest) Limit ¶
func (r AccountAPIListTransactionsRequest) Limit(limit int32) AccountAPIListTransactionsRequest
Number of records to return
func (AccountAPIListTransactionsRequest) Offset ¶
func (r AccountAPIListTransactionsRequest) Offset(offset int32) AccountAPIListTransactionsRequest
Number of records to skip
type AccountAPIService ¶
type AccountAPIService service
AccountAPIService AccountAPI service
func (*AccountAPIService) GetAccount ¶
func (a *AccountAPIService) GetAccount(ctx context.Context) AccountAPIGetAccountRequest
GetAccount Get account info
Get account information including remaining credits.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Usage:** Check credit balance before performing operations.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AccountAPIGetAccountRequest
func (*AccountAPIService) GetAccountExecute ¶
func (a *AccountAPIService) GetAccountExecute(r AccountAPIGetAccountRequest) (*AccountInfoResponse, *http.Response, error)
Execute executes the request
@return AccountInfoResponse
func (*AccountAPIService) ListTransactions ¶
func (a *AccountAPIService) ListTransactions(ctx context.Context) AccountAPIListTransactionsRequest
ListTransactions List transactions
List transaction history for the authenticated user.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Pagination:** Use `limit` and `offset` query parameters.
**Transaction types:** - `PDFGEN`: PDF generation (consumes credits) - `REFUND`: Credit refund (on failed generation) - `PURCHASE`: Credit purchase - `BONUS`: Bonus credits
**Credits field:** - Positive value = credits consumed - Negative value = credits added
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AccountAPIListTransactionsRequest
func (*AccountAPIService) ListTransactionsExecute ¶
func (a *AccountAPIService) ListTransactionsExecute(r AccountAPIListTransactionsRequest) (*TransactionsResponse, *http.Response, error)
Execute executes the request
@return TransactionsResponse
type AccountInfoResponse ¶
type AccountInfoResponse struct {
// Remaining credits
Credits int32 `json:"credits"`
Email NullableString `json:"email,omitempty"`
}
AccountInfoResponse Response for account info endpoint
func NewAccountInfoResponse ¶
func NewAccountInfoResponse(credits int32) *AccountInfoResponse
NewAccountInfoResponse instantiates a new AccountInfoResponse 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 NewAccountInfoResponseWithDefaults ¶
func NewAccountInfoResponseWithDefaults() *AccountInfoResponse
NewAccountInfoResponseWithDefaults instantiates a new AccountInfoResponse 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 (*AccountInfoResponse) GetCredits ¶
func (o *AccountInfoResponse) GetCredits() int32
GetCredits returns the Credits field value
func (*AccountInfoResponse) GetCreditsOk ¶
func (o *AccountInfoResponse) GetCreditsOk() (*int32, bool)
GetCreditsOk returns a tuple with the Credits field value and a boolean to check if the value has been set.
func (*AccountInfoResponse) GetEmail ¶
func (o *AccountInfoResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountInfoResponse) GetEmailOk ¶
func (o *AccountInfoResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountInfoResponse) HasEmail ¶
func (o *AccountInfoResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (AccountInfoResponse) MarshalJSON ¶
func (o AccountInfoResponse) MarshalJSON() ([]byte, error)
func (*AccountInfoResponse) SetCredits ¶
func (o *AccountInfoResponse) SetCredits(v int32)
SetCredits sets field value
func (*AccountInfoResponse) SetEmail ¶
func (o *AccountInfoResponse) SetEmail(v string)
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*AccountInfoResponse) SetEmailNil ¶
func (o *AccountInfoResponse) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (AccountInfoResponse) ToMap ¶
func (o AccountInfoResponse) ToMap() (map[string]interface{}, error)
func (*AccountInfoResponse) UnmarshalJSON ¶
func (o *AccountInfoResponse) UnmarshalJSON(data []byte) (err error)
func (*AccountInfoResponse) UnsetEmail ¶
func (o *AccountInfoResponse) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreatePdfRequest ¶
type CreatePdfRequest struct {
// **Required.** Template short ID (12 characters)
TemplateId string `json:"template_id"`
// **Required.** Key-value data to render in the template. Keys must match template variables.
Data map[string]interface{} `json:"data"`
// Export format: `url` uploads to CDN and returns URL, `binary` returns raw PDF bytes
ExportType *ExportType `json:"export_type,omitempty"`
// URL expiration in seconds. Min: 60 (1 min), Max: 604800 (7 days). Only applies to `url` export type.
Expiration *int32 `json:"expiration,omitempty"`
Filename NullableString `json:"filename,omitempty" validate:"regexp=^[a-zA-Z0-9_\\\\-\\\\.]+$"`
// Upload to your configured S3 bucket instead of CDN
StoreS3 *bool `json:"store_s3,omitempty"`
S3Filepath NullableString `json:"s3_filepath,omitempty" validate:"regexp=^[a-zA-Z0-9_\\\\-\\\\.\\/]+$"`
S3Bucket NullableString `json:"s3_bucket,omitempty" validate:"regexp=^[a-z0-9][a-z0-9.\\\\-]*[a-z0-9]$"`
}
CreatePdfRequest Request model for PDF generation
func NewCreatePdfRequest ¶
func NewCreatePdfRequest(templateId string, data map[string]interface{}) *CreatePdfRequest
NewCreatePdfRequest instantiates a new CreatePdfRequest 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 NewCreatePdfRequestWithDefaults ¶
func NewCreatePdfRequestWithDefaults() *CreatePdfRequest
NewCreatePdfRequestWithDefaults instantiates a new CreatePdfRequest 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 (*CreatePdfRequest) GetData ¶
func (o *CreatePdfRequest) GetData() map[string]interface{}
GetData returns the Data field value
func (*CreatePdfRequest) GetDataOk ¶
func (o *CreatePdfRequest) GetDataOk() (map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*CreatePdfRequest) GetExpiration ¶
func (o *CreatePdfRequest) GetExpiration() int32
GetExpiration returns the Expiration field value if set, zero value otherwise.
func (*CreatePdfRequest) GetExpirationOk ¶
func (o *CreatePdfRequest) GetExpirationOk() (*int32, bool)
GetExpirationOk returns a tuple with the Expiration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePdfRequest) GetExportType ¶
func (o *CreatePdfRequest) GetExportType() ExportType
GetExportType returns the ExportType field value if set, zero value otherwise.
func (*CreatePdfRequest) GetExportTypeOk ¶
func (o *CreatePdfRequest) GetExportTypeOk() (*ExportType, bool)
GetExportTypeOk returns a tuple with the ExportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePdfRequest) GetFilename ¶
func (o *CreatePdfRequest) GetFilename() string
GetFilename returns the Filename field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePdfRequest) GetFilenameOk ¶
func (o *CreatePdfRequest) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreatePdfRequest) GetS3Bucket ¶
func (o *CreatePdfRequest) GetS3Bucket() string
GetS3Bucket returns the S3Bucket field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePdfRequest) GetS3BucketOk ¶
func (o *CreatePdfRequest) GetS3BucketOk() (*string, bool)
GetS3BucketOk returns a tuple with the S3Bucket field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreatePdfRequest) GetS3Filepath ¶
func (o *CreatePdfRequest) GetS3Filepath() string
GetS3Filepath returns the S3Filepath field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePdfRequest) GetS3FilepathOk ¶
func (o *CreatePdfRequest) GetS3FilepathOk() (*string, bool)
GetS3FilepathOk returns a tuple with the S3Filepath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreatePdfRequest) GetStoreS3 ¶
func (o *CreatePdfRequest) GetStoreS3() bool
GetStoreS3 returns the StoreS3 field value if set, zero value otherwise.
func (*CreatePdfRequest) GetStoreS3Ok ¶
func (o *CreatePdfRequest) GetStoreS3Ok() (*bool, bool)
GetStoreS3Ok returns a tuple with the StoreS3 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePdfRequest) GetTemplateId ¶
func (o *CreatePdfRequest) GetTemplateId() string
GetTemplateId returns the TemplateId field value
func (*CreatePdfRequest) GetTemplateIdOk ¶
func (o *CreatePdfRequest) GetTemplateIdOk() (*string, bool)
GetTemplateIdOk returns a tuple with the TemplateId field value and a boolean to check if the value has been set.
func (*CreatePdfRequest) HasExpiration ¶
func (o *CreatePdfRequest) HasExpiration() bool
HasExpiration returns a boolean if a field has been set.
func (*CreatePdfRequest) HasExportType ¶
func (o *CreatePdfRequest) HasExportType() bool
HasExportType returns a boolean if a field has been set.
func (*CreatePdfRequest) HasFilename ¶
func (o *CreatePdfRequest) HasFilename() bool
HasFilename returns a boolean if a field has been set.
func (*CreatePdfRequest) HasS3Bucket ¶
func (o *CreatePdfRequest) HasS3Bucket() bool
HasS3Bucket returns a boolean if a field has been set.
func (*CreatePdfRequest) HasS3Filepath ¶
func (o *CreatePdfRequest) HasS3Filepath() bool
HasS3Filepath returns a boolean if a field has been set.
func (*CreatePdfRequest) HasStoreS3 ¶
func (o *CreatePdfRequest) HasStoreS3() bool
HasStoreS3 returns a boolean if a field has been set.
func (CreatePdfRequest) MarshalJSON ¶
func (o CreatePdfRequest) MarshalJSON() ([]byte, error)
func (*CreatePdfRequest) SetData ¶
func (o *CreatePdfRequest) SetData(v map[string]interface{})
SetData sets field value
func (*CreatePdfRequest) SetExpiration ¶
func (o *CreatePdfRequest) SetExpiration(v int32)
SetExpiration gets a reference to the given int32 and assigns it to the Expiration field.
func (*CreatePdfRequest) SetExportType ¶
func (o *CreatePdfRequest) SetExportType(v ExportType)
SetExportType gets a reference to the given ExportType and assigns it to the ExportType field.
func (*CreatePdfRequest) SetFilename ¶
func (o *CreatePdfRequest) SetFilename(v string)
SetFilename gets a reference to the given NullableString and assigns it to the Filename field.
func (*CreatePdfRequest) SetFilenameNil ¶
func (o *CreatePdfRequest) SetFilenameNil()
SetFilenameNil sets the value for Filename to be an explicit nil
func (*CreatePdfRequest) SetS3Bucket ¶
func (o *CreatePdfRequest) SetS3Bucket(v string)
SetS3Bucket gets a reference to the given NullableString and assigns it to the S3Bucket field.
func (*CreatePdfRequest) SetS3BucketNil ¶
func (o *CreatePdfRequest) SetS3BucketNil()
SetS3BucketNil sets the value for S3Bucket to be an explicit nil
func (*CreatePdfRequest) SetS3Filepath ¶
func (o *CreatePdfRequest) SetS3Filepath(v string)
SetS3Filepath gets a reference to the given NullableString and assigns it to the S3Filepath field.
func (*CreatePdfRequest) SetS3FilepathNil ¶
func (o *CreatePdfRequest) SetS3FilepathNil()
SetS3FilepathNil sets the value for S3Filepath to be an explicit nil
func (*CreatePdfRequest) SetStoreS3 ¶
func (o *CreatePdfRequest) SetStoreS3(v bool)
SetStoreS3 gets a reference to the given bool and assigns it to the StoreS3 field.
func (*CreatePdfRequest) SetTemplateId ¶
func (o *CreatePdfRequest) SetTemplateId(v string)
SetTemplateId sets field value
func (CreatePdfRequest) ToMap ¶
func (o CreatePdfRequest) ToMap() (map[string]interface{}, error)
func (*CreatePdfRequest) UnmarshalJSON ¶
func (o *CreatePdfRequest) UnmarshalJSON(data []byte) (err error)
func (*CreatePdfRequest) UnsetFilename ¶
func (o *CreatePdfRequest) UnsetFilename()
UnsetFilename ensures that no value is present for Filename, not even an explicit nil
func (*CreatePdfRequest) UnsetS3Bucket ¶
func (o *CreatePdfRequest) UnsetS3Bucket()
UnsetS3Bucket ensures that no value is present for S3Bucket, not even an explicit nil
func (*CreatePdfRequest) UnsetS3Filepath ¶
func (o *CreatePdfRequest) UnsetS3Filepath()
UnsetS3Filepath ensures that no value is present for S3Filepath, not even an explicit nil
type CreatePdfResponse ¶
type CreatePdfResponse struct {
// Signed URL to download the PDF (expires after specified time)
Url string `json:"url"`
// Filename of the generated PDF
Filename string `json:"filename"`
// Remaining credits after this request
CreditsRemaining int32 `json:"credits_remaining"`
// Seconds until URL expires
ExpiresIn int32 `json:"expires_in"`
}
CreatePdfResponse Response for URL export type
func NewCreatePdfResponse ¶
func NewCreatePdfResponse(url string, filename string, creditsRemaining int32, expiresIn int32) *CreatePdfResponse
NewCreatePdfResponse instantiates a new CreatePdfResponse 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 NewCreatePdfResponseWithDefaults ¶
func NewCreatePdfResponseWithDefaults() *CreatePdfResponse
NewCreatePdfResponseWithDefaults instantiates a new CreatePdfResponse 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 (*CreatePdfResponse) GetCreditsRemaining ¶
func (o *CreatePdfResponse) GetCreditsRemaining() int32
GetCreditsRemaining returns the CreditsRemaining field value
func (*CreatePdfResponse) GetCreditsRemainingOk ¶
func (o *CreatePdfResponse) GetCreditsRemainingOk() (*int32, bool)
GetCreditsRemainingOk returns a tuple with the CreditsRemaining field value and a boolean to check if the value has been set.
func (*CreatePdfResponse) GetExpiresIn ¶
func (o *CreatePdfResponse) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value
func (*CreatePdfResponse) GetExpiresInOk ¶
func (o *CreatePdfResponse) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value and a boolean to check if the value has been set.
func (*CreatePdfResponse) GetFilename ¶
func (o *CreatePdfResponse) GetFilename() string
GetFilename returns the Filename field value
func (*CreatePdfResponse) GetFilenameOk ¶
func (o *CreatePdfResponse) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value and a boolean to check if the value has been set.
func (*CreatePdfResponse) GetUrl ¶
func (o *CreatePdfResponse) GetUrl() string
GetUrl returns the Url field value
func (*CreatePdfResponse) GetUrlOk ¶
func (o *CreatePdfResponse) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (CreatePdfResponse) MarshalJSON ¶
func (o CreatePdfResponse) MarshalJSON() ([]byte, error)
func (*CreatePdfResponse) SetCreditsRemaining ¶
func (o *CreatePdfResponse) SetCreditsRemaining(v int32)
SetCreditsRemaining sets field value
func (*CreatePdfResponse) SetExpiresIn ¶
func (o *CreatePdfResponse) SetExpiresIn(v int32)
SetExpiresIn sets field value
func (*CreatePdfResponse) SetFilename ¶
func (o *CreatePdfResponse) SetFilename(v string)
SetFilename sets field value
func (*CreatePdfResponse) SetUrl ¶
func (o *CreatePdfResponse) SetUrl(v string)
SetUrl sets field value
func (CreatePdfResponse) ToMap ¶
func (o CreatePdfResponse) ToMap() (map[string]interface{}, error)
func (*CreatePdfResponse) UnmarshalJSON ¶
func (o *CreatePdfResponse) UnmarshalJSON(data []byte) (err error)
type ExportType ¶
type ExportType string
ExportType PDF export type options
const ( URL ExportType = "url" BINARY ExportType = "binary" )
List of ExportType
func NewExportTypeFromValue ¶
func NewExportTypeFromValue(v string) (*ExportType, error)
NewExportTypeFromValue returns a pointer to a valid ExportType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ExportType) IsValid ¶
func (v ExportType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ExportType) Ptr ¶
func (v ExportType) Ptr() *ExportType
Ptr returns reference to ExportType value
func (*ExportType) UnmarshalJSON ¶
func (v *ExportType) UnmarshalJSON(src []byte) 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 HTTPValidationError ¶
type HTTPValidationError struct {
Detail []ValidationError `json:"detail,omitempty"`
}
HTTPValidationError struct for HTTPValidationError
func NewHTTPValidationError ¶
func NewHTTPValidationError() *HTTPValidationError
NewHTTPValidationError instantiates a new HTTPValidationError 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 NewHTTPValidationErrorWithDefaults ¶
func NewHTTPValidationErrorWithDefaults() *HTTPValidationError
NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError 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 (*HTTPValidationError) GetDetail ¶
func (o *HTTPValidationError) GetDetail() []ValidationError
GetDetail returns the Detail field value if set, zero value otherwise.
func (*HTTPValidationError) GetDetailOk ¶
func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPValidationError) HasDetail ¶
func (o *HTTPValidationError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (HTTPValidationError) MarshalJSON ¶
func (o HTTPValidationError) MarshalJSON() ([]byte, error)
func (*HTTPValidationError) SetDetail ¶
func (o *HTTPValidationError) SetDetail(v []ValidationError)
SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.
func (HTTPValidationError) ToMap ¶
func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
type IntegrationsAPI ¶
type IntegrationsAPI interface {
/*
DeleteS3Config Delete S3 configuration
Delete S3 storage configuration.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Remove your S3 integration. Generated PDFs will use the default CDN storage after deletion.
**Warning:** This action is irreversible. You'll need to reconfigure S3 to use it again.
**No credits consumed:** This is a configuration endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return IntegrationsAPIDeleteS3ConfigRequest
*/
DeleteS3Config(ctx context.Context) IntegrationsAPIDeleteS3ConfigRequest
// DeleteS3ConfigExecute executes the request
// @return S3SuccessResponse
DeleteS3ConfigExecute(r IntegrationsAPIDeleteS3ConfigRequest) (*S3SuccessResponse, *http.Response, error)
/*
GetS3Config Get S3 configuration
Get current S3 storage configuration.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Retrieve your S3 integration settings. Secret access key is masked for security.
**Returns 404** if S3 is not configured.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return IntegrationsAPIGetS3ConfigRequest
*/
GetS3Config(ctx context.Context) IntegrationsAPIGetS3ConfigRequest
// GetS3ConfigExecute executes the request
// @return S3ConfigResponse
GetS3ConfigExecute(r IntegrationsAPIGetS3ConfigRequest) (*S3ConfigResponse, *http.Response, error)
/*
SaveS3Config Save S3 configuration
Save or update S3-compatible storage configuration.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Configure your S3-compatible storage to receive generated PDFs directly
in your own bucket instead of the default CDN.
**Supported providers:**
- Amazon S3
- DigitalOcean Spaces
- Cloudflare R2
- MinIO
- Any S3-compatible storage
**Secret key behavior:**
- For new configuration: `secret_access_key` is required
- For updates: Omit `secret_access_key` to keep existing value
**No credits consumed:** This is a configuration endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return IntegrationsAPISaveS3ConfigRequest
*/
SaveS3Config(ctx context.Context) IntegrationsAPISaveS3ConfigRequest
// SaveS3ConfigExecute executes the request
// @return S3SuccessResponse
SaveS3ConfigExecute(r IntegrationsAPISaveS3ConfigRequest) (*S3SuccessResponse, *http.Response, error)
/*
TestS3Connection Test S3 connection
Test S3 connection with stored credentials.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Verify your S3 configuration is working correctly. The test will:
1. Connect to the endpoint
2. Verify bucket access
3. Check write permissions by uploading a small test file
**Prerequisite:** S3 must be configured first using `POST /v1/integrations/s3`
**No credits consumed:** This is a diagnostic endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return IntegrationsAPITestS3ConnectionRequest
*/
TestS3Connection(ctx context.Context) IntegrationsAPITestS3ConnectionRequest
// TestS3ConnectionExecute executes the request
// @return S3TestResponse
TestS3ConnectionExecute(r IntegrationsAPITestS3ConnectionRequest) (*S3TestResponse, *http.Response, error)
}
type IntegrationsAPIDeleteS3ConfigRequest ¶
type IntegrationsAPIDeleteS3ConfigRequest struct {
ApiService IntegrationsAPI
// contains filtered or unexported fields
}
func (IntegrationsAPIDeleteS3ConfigRequest) Execute ¶
func (r IntegrationsAPIDeleteS3ConfigRequest) Execute() (*S3SuccessResponse, *http.Response, error)
type IntegrationsAPIGetS3ConfigRequest ¶
type IntegrationsAPIGetS3ConfigRequest struct {
ApiService IntegrationsAPI
// contains filtered or unexported fields
}
func (IntegrationsAPIGetS3ConfigRequest) Execute ¶
func (r IntegrationsAPIGetS3ConfigRequest) Execute() (*S3ConfigResponse, *http.Response, error)
type IntegrationsAPISaveS3ConfigRequest ¶
type IntegrationsAPISaveS3ConfigRequest struct {
ApiService IntegrationsAPI
// contains filtered or unexported fields
}
func (IntegrationsAPISaveS3ConfigRequest) Execute ¶
func (r IntegrationsAPISaveS3ConfigRequest) Execute() (*S3SuccessResponse, *http.Response, error)
func (IntegrationsAPISaveS3ConfigRequest) S3ConfigRequest ¶
func (r IntegrationsAPISaveS3ConfigRequest) S3ConfigRequest(s3ConfigRequest S3ConfigRequest) IntegrationsAPISaveS3ConfigRequest
type IntegrationsAPIService ¶
type IntegrationsAPIService service
IntegrationsAPIService IntegrationsAPI service
func (*IntegrationsAPIService) DeleteS3Config ¶
func (a *IntegrationsAPIService) DeleteS3Config(ctx context.Context) IntegrationsAPIDeleteS3ConfigRequest
DeleteS3Config Delete S3 configuration
Delete S3 storage configuration.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Remove your S3 integration. Generated PDFs will use the default CDN storage after deletion.
**Warning:** This action is irreversible. You'll need to reconfigure S3 to use it again.
**No credits consumed:** This is a configuration endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return IntegrationsAPIDeleteS3ConfigRequest
func (*IntegrationsAPIService) DeleteS3ConfigExecute ¶
func (a *IntegrationsAPIService) DeleteS3ConfigExecute(r IntegrationsAPIDeleteS3ConfigRequest) (*S3SuccessResponse, *http.Response, error)
Execute executes the request
@return S3SuccessResponse
func (*IntegrationsAPIService) GetS3Config ¶
func (a *IntegrationsAPIService) GetS3Config(ctx context.Context) IntegrationsAPIGetS3ConfigRequest
GetS3Config Get S3 configuration
Get current S3 storage configuration.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Retrieve your S3 integration settings. Secret access key is masked for security.
**Returns 404** if S3 is not configured.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return IntegrationsAPIGetS3ConfigRequest
func (*IntegrationsAPIService) GetS3ConfigExecute ¶
func (a *IntegrationsAPIService) GetS3ConfigExecute(r IntegrationsAPIGetS3ConfigRequest) (*S3ConfigResponse, *http.Response, error)
Execute executes the request
@return S3ConfigResponse
func (*IntegrationsAPIService) SaveS3Config ¶
func (a *IntegrationsAPIService) SaveS3Config(ctx context.Context) IntegrationsAPISaveS3ConfigRequest
SaveS3Config Save S3 configuration
Save or update S3-compatible storage configuration.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Configure your S3-compatible storage to receive generated PDFs directly in your own bucket instead of the default CDN.
**Supported providers:** - Amazon S3 - DigitalOcean Spaces - Cloudflare R2 - MinIO - Any S3-compatible storage
**Secret key behavior:** - For new configuration: `secret_access_key` is required - For updates: Omit `secret_access_key` to keep existing value
**No credits consumed:** This is a configuration endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return IntegrationsAPISaveS3ConfigRequest
func (*IntegrationsAPIService) SaveS3ConfigExecute ¶
func (a *IntegrationsAPIService) SaveS3ConfigExecute(r IntegrationsAPISaveS3ConfigRequest) (*S3SuccessResponse, *http.Response, error)
Execute executes the request
@return S3SuccessResponse
func (*IntegrationsAPIService) TestS3Connection ¶
func (a *IntegrationsAPIService) TestS3Connection(ctx context.Context) IntegrationsAPITestS3ConnectionRequest
TestS3Connection Test S3 connection
Test S3 connection with stored credentials.
**Authentication:** API Key required (`x-api-key` header)
**Usage:** Verify your S3 configuration is working correctly. The test will: 1. Connect to the endpoint 2. Verify bucket access 3. Check write permissions by uploading a small test file
**Prerequisite:** S3 must be configured first using `POST /v1/integrations/s3`
**No credits consumed:** This is a diagnostic endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return IntegrationsAPITestS3ConnectionRequest
func (*IntegrationsAPIService) TestS3ConnectionExecute ¶
func (a *IntegrationsAPIService) TestS3ConnectionExecute(r IntegrationsAPITestS3ConnectionRequest) (*S3TestResponse, *http.Response, error)
Execute executes the request
@return S3TestResponse
type IntegrationsAPITestS3ConnectionRequest ¶
type IntegrationsAPITestS3ConnectionRequest struct {
ApiService IntegrationsAPI
// contains filtered or unexported fields
}
func (IntegrationsAPITestS3ConnectionRequest) Execute ¶
func (r IntegrationsAPITestS3ConnectionRequest) Execute() (*S3TestResponse, *http.Response, error)
type LocationInner ¶
LocationInner struct for LocationInner
func (LocationInner) MarshalJSON ¶
func (src LocationInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*LocationInner) UnmarshalJSON ¶
func (dst *LocationInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type MappedNullable ¶
type NullableAccountInfoResponse ¶
type NullableAccountInfoResponse struct {
// contains filtered or unexported fields
}
func NewNullableAccountInfoResponse ¶
func NewNullableAccountInfoResponse(val *AccountInfoResponse) *NullableAccountInfoResponse
func (NullableAccountInfoResponse) Get ¶
func (v NullableAccountInfoResponse) Get() *AccountInfoResponse
func (NullableAccountInfoResponse) IsSet ¶
func (v NullableAccountInfoResponse) IsSet() bool
func (NullableAccountInfoResponse) MarshalJSON ¶
func (v NullableAccountInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableAccountInfoResponse) Set ¶
func (v *NullableAccountInfoResponse) Set(val *AccountInfoResponse)
func (*NullableAccountInfoResponse) UnmarshalJSON ¶
func (v *NullableAccountInfoResponse) UnmarshalJSON(src []byte) error
func (*NullableAccountInfoResponse) Unset ¶
func (v *NullableAccountInfoResponse) Unset()
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 NullableCreatePdfRequest ¶
type NullableCreatePdfRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreatePdfRequest ¶
func NewNullableCreatePdfRequest(val *CreatePdfRequest) *NullableCreatePdfRequest
func (NullableCreatePdfRequest) Get ¶
func (v NullableCreatePdfRequest) Get() *CreatePdfRequest
func (NullableCreatePdfRequest) IsSet ¶
func (v NullableCreatePdfRequest) IsSet() bool
func (NullableCreatePdfRequest) MarshalJSON ¶
func (v NullableCreatePdfRequest) MarshalJSON() ([]byte, error)
func (*NullableCreatePdfRequest) Set ¶
func (v *NullableCreatePdfRequest) Set(val *CreatePdfRequest)
func (*NullableCreatePdfRequest) UnmarshalJSON ¶
func (v *NullableCreatePdfRequest) UnmarshalJSON(src []byte) error
func (*NullableCreatePdfRequest) Unset ¶
func (v *NullableCreatePdfRequest) Unset()
type NullableCreatePdfResponse ¶
type NullableCreatePdfResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreatePdfResponse ¶
func NewNullableCreatePdfResponse(val *CreatePdfResponse) *NullableCreatePdfResponse
func (NullableCreatePdfResponse) Get ¶
func (v NullableCreatePdfResponse) Get() *CreatePdfResponse
func (NullableCreatePdfResponse) IsSet ¶
func (v NullableCreatePdfResponse) IsSet() bool
func (NullableCreatePdfResponse) MarshalJSON ¶
func (v NullableCreatePdfResponse) MarshalJSON() ([]byte, error)
func (*NullableCreatePdfResponse) Set ¶
func (v *NullableCreatePdfResponse) Set(val *CreatePdfResponse)
func (*NullableCreatePdfResponse) UnmarshalJSON ¶
func (v *NullableCreatePdfResponse) UnmarshalJSON(src []byte) error
func (*NullableCreatePdfResponse) Unset ¶
func (v *NullableCreatePdfResponse) Unset()
type NullableExportType ¶
type NullableExportType struct {
// contains filtered or unexported fields
}
func NewNullableExportType ¶
func NewNullableExportType(val *ExportType) *NullableExportType
func (NullableExportType) Get ¶
func (v NullableExportType) Get() *ExportType
func (NullableExportType) IsSet ¶
func (v NullableExportType) IsSet() bool
func (NullableExportType) MarshalJSON ¶
func (v NullableExportType) MarshalJSON() ([]byte, error)
func (*NullableExportType) Set ¶
func (v *NullableExportType) Set(val *ExportType)
func (*NullableExportType) UnmarshalJSON ¶
func (v *NullableExportType) UnmarshalJSON(src []byte) error
func (*NullableExportType) Unset ¶
func (v *NullableExportType) 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 NullableHTTPValidationError ¶
type NullableHTTPValidationError struct {
// contains filtered or unexported fields
}
func NewNullableHTTPValidationError ¶
func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError
func (NullableHTTPValidationError) Get ¶
func (v NullableHTTPValidationError) Get() *HTTPValidationError
func (NullableHTTPValidationError) IsSet ¶
func (v NullableHTTPValidationError) IsSet() bool
func (NullableHTTPValidationError) MarshalJSON ¶
func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
func (*NullableHTTPValidationError) Set ¶
func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
func (*NullableHTTPValidationError) UnmarshalJSON ¶
func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
func (*NullableHTTPValidationError) Unset ¶
func (v *NullableHTTPValidationError) 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 NullableLocationInner ¶
type NullableLocationInner struct {
// contains filtered or unexported fields
}
func NewNullableLocationInner ¶
func NewNullableLocationInner(val *LocationInner) *NullableLocationInner
func (NullableLocationInner) Get ¶
func (v NullableLocationInner) Get() *LocationInner
func (NullableLocationInner) IsSet ¶
func (v NullableLocationInner) IsSet() bool
func (NullableLocationInner) MarshalJSON ¶
func (v NullableLocationInner) MarshalJSON() ([]byte, error)
func (*NullableLocationInner) Set ¶
func (v *NullableLocationInner) Set(val *LocationInner)
func (*NullableLocationInner) UnmarshalJSON ¶
func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
func (*NullableLocationInner) Unset ¶
func (v *NullableLocationInner) Unset()
type NullableS3ConfigRequest ¶
type NullableS3ConfigRequest struct {
// contains filtered or unexported fields
}
func NewNullableS3ConfigRequest ¶
func NewNullableS3ConfigRequest(val *S3ConfigRequest) *NullableS3ConfigRequest
func (NullableS3ConfigRequest) Get ¶
func (v NullableS3ConfigRequest) Get() *S3ConfigRequest
func (NullableS3ConfigRequest) IsSet ¶
func (v NullableS3ConfigRequest) IsSet() bool
func (NullableS3ConfigRequest) MarshalJSON ¶
func (v NullableS3ConfigRequest) MarshalJSON() ([]byte, error)
func (*NullableS3ConfigRequest) Set ¶
func (v *NullableS3ConfigRequest) Set(val *S3ConfigRequest)
func (*NullableS3ConfigRequest) UnmarshalJSON ¶
func (v *NullableS3ConfigRequest) UnmarshalJSON(src []byte) error
func (*NullableS3ConfigRequest) Unset ¶
func (v *NullableS3ConfigRequest) Unset()
type NullableS3ConfigResponse ¶
type NullableS3ConfigResponse struct {
// contains filtered or unexported fields
}
func NewNullableS3ConfigResponse ¶
func NewNullableS3ConfigResponse(val *S3ConfigResponse) *NullableS3ConfigResponse
func (NullableS3ConfigResponse) Get ¶
func (v NullableS3ConfigResponse) Get() *S3ConfigResponse
func (NullableS3ConfigResponse) IsSet ¶
func (v NullableS3ConfigResponse) IsSet() bool
func (NullableS3ConfigResponse) MarshalJSON ¶
func (v NullableS3ConfigResponse) MarshalJSON() ([]byte, error)
func (*NullableS3ConfigResponse) Set ¶
func (v *NullableS3ConfigResponse) Set(val *S3ConfigResponse)
func (*NullableS3ConfigResponse) UnmarshalJSON ¶
func (v *NullableS3ConfigResponse) UnmarshalJSON(src []byte) error
func (*NullableS3ConfigResponse) Unset ¶
func (v *NullableS3ConfigResponse) Unset()
type NullableS3SuccessResponse ¶
type NullableS3SuccessResponse struct {
// contains filtered or unexported fields
}
func NewNullableS3SuccessResponse ¶
func NewNullableS3SuccessResponse(val *S3SuccessResponse) *NullableS3SuccessResponse
func (NullableS3SuccessResponse) Get ¶
func (v NullableS3SuccessResponse) Get() *S3SuccessResponse
func (NullableS3SuccessResponse) IsSet ¶
func (v NullableS3SuccessResponse) IsSet() bool
func (NullableS3SuccessResponse) MarshalJSON ¶
func (v NullableS3SuccessResponse) MarshalJSON() ([]byte, error)
func (*NullableS3SuccessResponse) Set ¶
func (v *NullableS3SuccessResponse) Set(val *S3SuccessResponse)
func (*NullableS3SuccessResponse) UnmarshalJSON ¶
func (v *NullableS3SuccessResponse) UnmarshalJSON(src []byte) error
func (*NullableS3SuccessResponse) Unset ¶
func (v *NullableS3SuccessResponse) Unset()
type NullableS3TestResponse ¶
type NullableS3TestResponse struct {
// contains filtered or unexported fields
}
func NewNullableS3TestResponse ¶
func NewNullableS3TestResponse(val *S3TestResponse) *NullableS3TestResponse
func (NullableS3TestResponse) Get ¶
func (v NullableS3TestResponse) Get() *S3TestResponse
func (NullableS3TestResponse) IsSet ¶
func (v NullableS3TestResponse) IsSet() bool
func (NullableS3TestResponse) MarshalJSON ¶
func (v NullableS3TestResponse) MarshalJSON() ([]byte, error)
func (*NullableS3TestResponse) Set ¶
func (v *NullableS3TestResponse) Set(val *S3TestResponse)
func (*NullableS3TestResponse) UnmarshalJSON ¶
func (v *NullableS3TestResponse) UnmarshalJSON(src []byte) error
func (*NullableS3TestResponse) Unset ¶
func (v *NullableS3TestResponse) 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 NullableTemplateField ¶
type NullableTemplateField struct {
// contains filtered or unexported fields
}
func NewNullableTemplateField ¶
func NewNullableTemplateField(val *TemplateField) *NullableTemplateField
func (NullableTemplateField) Get ¶
func (v NullableTemplateField) Get() *TemplateField
func (NullableTemplateField) IsSet ¶
func (v NullableTemplateField) IsSet() bool
func (NullableTemplateField) MarshalJSON ¶
func (v NullableTemplateField) MarshalJSON() ([]byte, error)
func (*NullableTemplateField) Set ¶
func (v *NullableTemplateField) Set(val *TemplateField)
func (*NullableTemplateField) UnmarshalJSON ¶
func (v *NullableTemplateField) UnmarshalJSON(src []byte) error
func (*NullableTemplateField) Unset ¶
func (v *NullableTemplateField) Unset()
type NullableTemplateListItem ¶
type NullableTemplateListItem struct {
// contains filtered or unexported fields
}
func NewNullableTemplateListItem ¶
func NewNullableTemplateListItem(val *TemplateListItem) *NullableTemplateListItem
func (NullableTemplateListItem) Get ¶
func (v NullableTemplateListItem) Get() *TemplateListItem
func (NullableTemplateListItem) IsSet ¶
func (v NullableTemplateListItem) IsSet() bool
func (NullableTemplateListItem) MarshalJSON ¶
func (v NullableTemplateListItem) MarshalJSON() ([]byte, error)
func (*NullableTemplateListItem) Set ¶
func (v *NullableTemplateListItem) Set(val *TemplateListItem)
func (*NullableTemplateListItem) UnmarshalJSON ¶
func (v *NullableTemplateListItem) UnmarshalJSON(src []byte) error
func (*NullableTemplateListItem) Unset ¶
func (v *NullableTemplateListItem) Unset()
type NullableTemplatesListResponse ¶
type NullableTemplatesListResponse struct {
// contains filtered or unexported fields
}
func NewNullableTemplatesListResponse ¶
func NewNullableTemplatesListResponse(val *TemplatesListResponse) *NullableTemplatesListResponse
func (NullableTemplatesListResponse) Get ¶
func (v NullableTemplatesListResponse) Get() *TemplatesListResponse
func (NullableTemplatesListResponse) IsSet ¶
func (v NullableTemplatesListResponse) IsSet() bool
func (NullableTemplatesListResponse) MarshalJSON ¶
func (v NullableTemplatesListResponse) MarshalJSON() ([]byte, error)
func (*NullableTemplatesListResponse) Set ¶
func (v *NullableTemplatesListResponse) Set(val *TemplatesListResponse)
func (*NullableTemplatesListResponse) UnmarshalJSON ¶
func (v *NullableTemplatesListResponse) UnmarshalJSON(src []byte) error
func (*NullableTemplatesListResponse) Unset ¶
func (v *NullableTemplatesListResponse) 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 NullableTransaction ¶
type NullableTransaction struct {
// contains filtered or unexported fields
}
func NewNullableTransaction ¶
func NewNullableTransaction(val *Transaction) *NullableTransaction
func (NullableTransaction) Get ¶
func (v NullableTransaction) Get() *Transaction
func (NullableTransaction) IsSet ¶
func (v NullableTransaction) IsSet() bool
func (NullableTransaction) MarshalJSON ¶
func (v NullableTransaction) MarshalJSON() ([]byte, error)
func (*NullableTransaction) Set ¶
func (v *NullableTransaction) Set(val *Transaction)
func (*NullableTransaction) UnmarshalJSON ¶
func (v *NullableTransaction) UnmarshalJSON(src []byte) error
func (*NullableTransaction) Unset ¶
func (v *NullableTransaction) Unset()
type NullableTransactionsResponse ¶
type NullableTransactionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransactionsResponse ¶
func NewNullableTransactionsResponse(val *TransactionsResponse) *NullableTransactionsResponse
func (NullableTransactionsResponse) Get ¶
func (v NullableTransactionsResponse) Get() *TransactionsResponse
func (NullableTransactionsResponse) IsSet ¶
func (v NullableTransactionsResponse) IsSet() bool
func (NullableTransactionsResponse) MarshalJSON ¶
func (v NullableTransactionsResponse) MarshalJSON() ([]byte, error)
func (*NullableTransactionsResponse) Set ¶
func (v *NullableTransactionsResponse) Set(val *TransactionsResponse)
func (*NullableTransactionsResponse) UnmarshalJSON ¶
func (v *NullableTransactionsResponse) UnmarshalJSON(src []byte) error
func (*NullableTransactionsResponse) Unset ¶
func (v *NullableTransactionsResponse) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type PDFAPI ¶
type PDFAPI interface {
/*
CreatePdf Generate PDF from template
Generate a PDF from a saved template with dynamic data.
**Authentication:** API Key required (`x-api-key` header)
## Request Body
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `template_id` | string | ✅ Yes | Template short ID (12 characters) |
| `data` | object | ✅ Yes | Key-value data to render in template |
| `export_type` | string | No | `url` (default) or `binary` |
| `expiration` | integer | No | URL expiration in seconds (60-604800, default: 86400) |
## Export Types
- `url` (default): PDF is uploaded to CDN, returns JSON with URL
- `binary`: Returns raw PDF bytes directly
**Credits:** 1 credit deducted per successful generation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return PDFAPICreatePdfRequest
*/
CreatePdf(ctx context.Context) PDFAPICreatePdfRequest
// CreatePdfExecute executes the request
// @return CreatePdfResponse
CreatePdfExecute(r PDFAPICreatePdfRequest) (*CreatePdfResponse, *http.Response, error)
}
type PDFAPICreatePdfRequest ¶
type PDFAPICreatePdfRequest struct {
ApiService PDFAPI
// contains filtered or unexported fields
}
func (PDFAPICreatePdfRequest) CreatePdfRequest ¶
func (r PDFAPICreatePdfRequest) CreatePdfRequest(createPdfRequest CreatePdfRequest) PDFAPICreatePdfRequest
func (PDFAPICreatePdfRequest) Execute ¶
func (r PDFAPICreatePdfRequest) Execute() (*CreatePdfResponse, *http.Response, error)
type PDFAPIService ¶
type PDFAPIService service
PDFAPIService PDFAPI service
func (*PDFAPIService) CreatePdf ¶
func (a *PDFAPIService) CreatePdf(ctx context.Context) PDFAPICreatePdfRequest
CreatePdf Generate PDF from template
Generate a PDF from a saved template with dynamic data.
**Authentication:** API Key required (`x-api-key` header)
## Request Body
| Field | Type | Required | Description | |-------|------|----------|-------------| | `template_id` | string | ✅ Yes | Template short ID (12 characters) | | `data` | object | ✅ Yes | Key-value data to render in template | | `export_type` | string | No | `url` (default) or `binary` | | `expiration` | integer | No | URL expiration in seconds (60-604800, default: 86400) |
## Export Types - `url` (default): PDF is uploaded to CDN, returns JSON with URL - `binary`: Returns raw PDF bytes directly
**Credits:** 1 credit deducted per successful generation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return PDFAPICreatePdfRequest
func (*PDFAPIService) CreatePdfExecute ¶
func (a *PDFAPIService) CreatePdfExecute(r PDFAPICreatePdfRequest) (*CreatePdfResponse, *http.Response, error)
Execute executes the request
@return CreatePdfResponse
type S3ConfigRequest ¶
type S3ConfigRequest struct {
// S3-compatible endpoint URL. Must start with https://
EndpointUrl string `json:"endpoint_url" validate:"regexp=^https:\\/\\/"`
// Access key ID for S3 authentication
AccessKeyId string `json:"access_key_id"`
SecretAccessKey NullableString `json:"secret_access_key,omitempty"`
// S3 bucket name. Must follow S3 naming conventions (lowercase, no underscores)
BucketName string `json:"bucket_name" validate:"regexp=^[a-z0-9][a-z0-9.\\\\-]*[a-z0-9]$"`
// Default path prefix for uploaded files. Can include slashes for folder structure
DefaultPrefix *string `json:"default_prefix,omitempty" validate:"regexp=^[a-zA-Z0-9_\\\\-\\\\.\\/]*$"`
}
S3ConfigRequest Request model for S3 configuration
func NewS3ConfigRequest ¶
func NewS3ConfigRequest(endpointUrl string, accessKeyId string, bucketName string) *S3ConfigRequest
NewS3ConfigRequest instantiates a new S3ConfigRequest 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 NewS3ConfigRequestWithDefaults ¶
func NewS3ConfigRequestWithDefaults() *S3ConfigRequest
NewS3ConfigRequestWithDefaults instantiates a new S3ConfigRequest 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 (*S3ConfigRequest) GetAccessKeyId ¶
func (o *S3ConfigRequest) GetAccessKeyId() string
GetAccessKeyId returns the AccessKeyId field value
func (*S3ConfigRequest) GetAccessKeyIdOk ¶
func (o *S3ConfigRequest) GetAccessKeyIdOk() (*string, bool)
GetAccessKeyIdOk returns a tuple with the AccessKeyId field value and a boolean to check if the value has been set.
func (*S3ConfigRequest) GetBucketName ¶
func (o *S3ConfigRequest) GetBucketName() string
GetBucketName returns the BucketName field value
func (*S3ConfigRequest) GetBucketNameOk ¶
func (o *S3ConfigRequest) GetBucketNameOk() (*string, bool)
GetBucketNameOk returns a tuple with the BucketName field value and a boolean to check if the value has been set.
func (*S3ConfigRequest) GetDefaultPrefix ¶
func (o *S3ConfigRequest) GetDefaultPrefix() string
GetDefaultPrefix returns the DefaultPrefix field value if set, zero value otherwise.
func (*S3ConfigRequest) GetDefaultPrefixOk ¶
func (o *S3ConfigRequest) GetDefaultPrefixOk() (*string, bool)
GetDefaultPrefixOk returns a tuple with the DefaultPrefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3ConfigRequest) GetEndpointUrl ¶
func (o *S3ConfigRequest) GetEndpointUrl() string
GetEndpointUrl returns the EndpointUrl field value
func (*S3ConfigRequest) GetEndpointUrlOk ¶
func (o *S3ConfigRequest) GetEndpointUrlOk() (*string, bool)
GetEndpointUrlOk returns a tuple with the EndpointUrl field value and a boolean to check if the value has been set.
func (*S3ConfigRequest) GetSecretAccessKey ¶
func (o *S3ConfigRequest) GetSecretAccessKey() string
GetSecretAccessKey returns the SecretAccessKey field value if set, zero value otherwise (both if not set or set to explicit null).
func (*S3ConfigRequest) GetSecretAccessKeyOk ¶
func (o *S3ConfigRequest) GetSecretAccessKeyOk() (*string, bool)
GetSecretAccessKeyOk returns a tuple with the SecretAccessKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*S3ConfigRequest) HasDefaultPrefix ¶
func (o *S3ConfigRequest) HasDefaultPrefix() bool
HasDefaultPrefix returns a boolean if a field has been set.
func (*S3ConfigRequest) HasSecretAccessKey ¶
func (o *S3ConfigRequest) HasSecretAccessKey() bool
HasSecretAccessKey returns a boolean if a field has been set.
func (S3ConfigRequest) MarshalJSON ¶
func (o S3ConfigRequest) MarshalJSON() ([]byte, error)
func (*S3ConfigRequest) SetAccessKeyId ¶
func (o *S3ConfigRequest) SetAccessKeyId(v string)
SetAccessKeyId sets field value
func (*S3ConfigRequest) SetBucketName ¶
func (o *S3ConfigRequest) SetBucketName(v string)
SetBucketName sets field value
func (*S3ConfigRequest) SetDefaultPrefix ¶
func (o *S3ConfigRequest) SetDefaultPrefix(v string)
SetDefaultPrefix gets a reference to the given string and assigns it to the DefaultPrefix field.
func (*S3ConfigRequest) SetEndpointUrl ¶
func (o *S3ConfigRequest) SetEndpointUrl(v string)
SetEndpointUrl sets field value
func (*S3ConfigRequest) SetSecretAccessKey ¶
func (o *S3ConfigRequest) SetSecretAccessKey(v string)
SetSecretAccessKey gets a reference to the given NullableString and assigns it to the SecretAccessKey field.
func (*S3ConfigRequest) SetSecretAccessKeyNil ¶
func (o *S3ConfigRequest) SetSecretAccessKeyNil()
SetSecretAccessKeyNil sets the value for SecretAccessKey to be an explicit nil
func (S3ConfigRequest) ToMap ¶
func (o S3ConfigRequest) ToMap() (map[string]interface{}, error)
func (*S3ConfigRequest) UnmarshalJSON ¶
func (o *S3ConfigRequest) UnmarshalJSON(data []byte) (err error)
func (*S3ConfigRequest) UnsetSecretAccessKey ¶
func (o *S3ConfigRequest) UnsetSecretAccessKey()
UnsetSecretAccessKey ensures that no value is present for SecretAccessKey, not even an explicit nil
type S3ConfigResponse ¶
type S3ConfigResponse struct {
// Whether S3 is configured
Configured bool `json:"configured"`
// S3-compatible endpoint URL
EndpointUrl string `json:"endpoint_url"`
// Access key ID
AccessKeyId string `json:"access_key_id"`
// Masked secret access key (shows first 4 and last 4 characters)
SecretAccessKeyMasked string `json:"secret_access_key_masked"`
// S3 bucket name
BucketName string `json:"bucket_name"`
// Default path prefix for uploads
DefaultPrefix string `json:"default_prefix"`
}
S3ConfigResponse Response for S3 configuration (with masked secret)
func NewS3ConfigResponse ¶
func NewS3ConfigResponse(configured bool, endpointUrl string, accessKeyId string, secretAccessKeyMasked string, bucketName string, defaultPrefix string) *S3ConfigResponse
NewS3ConfigResponse instantiates a new S3ConfigResponse 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 NewS3ConfigResponseWithDefaults ¶
func NewS3ConfigResponseWithDefaults() *S3ConfigResponse
NewS3ConfigResponseWithDefaults instantiates a new S3ConfigResponse 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 (*S3ConfigResponse) GetAccessKeyId ¶
func (o *S3ConfigResponse) GetAccessKeyId() string
GetAccessKeyId returns the AccessKeyId field value
func (*S3ConfigResponse) GetAccessKeyIdOk ¶
func (o *S3ConfigResponse) GetAccessKeyIdOk() (*string, bool)
GetAccessKeyIdOk returns a tuple with the AccessKeyId field value and a boolean to check if the value has been set.
func (*S3ConfigResponse) GetBucketName ¶
func (o *S3ConfigResponse) GetBucketName() string
GetBucketName returns the BucketName field value
func (*S3ConfigResponse) GetBucketNameOk ¶
func (o *S3ConfigResponse) GetBucketNameOk() (*string, bool)
GetBucketNameOk returns a tuple with the BucketName field value and a boolean to check if the value has been set.
func (*S3ConfigResponse) GetConfigured ¶
func (o *S3ConfigResponse) GetConfigured() bool
GetConfigured returns the Configured field value
func (*S3ConfigResponse) GetConfiguredOk ¶
func (o *S3ConfigResponse) GetConfiguredOk() (*bool, bool)
GetConfiguredOk returns a tuple with the Configured field value and a boolean to check if the value has been set.
func (*S3ConfigResponse) GetDefaultPrefix ¶
func (o *S3ConfigResponse) GetDefaultPrefix() string
GetDefaultPrefix returns the DefaultPrefix field value
func (*S3ConfigResponse) GetDefaultPrefixOk ¶
func (o *S3ConfigResponse) GetDefaultPrefixOk() (*string, bool)
GetDefaultPrefixOk returns a tuple with the DefaultPrefix field value and a boolean to check if the value has been set.
func (*S3ConfigResponse) GetEndpointUrl ¶
func (o *S3ConfigResponse) GetEndpointUrl() string
GetEndpointUrl returns the EndpointUrl field value
func (*S3ConfigResponse) GetEndpointUrlOk ¶
func (o *S3ConfigResponse) GetEndpointUrlOk() (*string, bool)
GetEndpointUrlOk returns a tuple with the EndpointUrl field value and a boolean to check if the value has been set.
func (*S3ConfigResponse) GetSecretAccessKeyMasked ¶
func (o *S3ConfigResponse) GetSecretAccessKeyMasked() string
GetSecretAccessKeyMasked returns the SecretAccessKeyMasked field value
func (*S3ConfigResponse) GetSecretAccessKeyMaskedOk ¶
func (o *S3ConfigResponse) GetSecretAccessKeyMaskedOk() (*string, bool)
GetSecretAccessKeyMaskedOk returns a tuple with the SecretAccessKeyMasked field value and a boolean to check if the value has been set.
func (S3ConfigResponse) MarshalJSON ¶
func (o S3ConfigResponse) MarshalJSON() ([]byte, error)
func (*S3ConfigResponse) SetAccessKeyId ¶
func (o *S3ConfigResponse) SetAccessKeyId(v string)
SetAccessKeyId sets field value
func (*S3ConfigResponse) SetBucketName ¶
func (o *S3ConfigResponse) SetBucketName(v string)
SetBucketName sets field value
func (*S3ConfigResponse) SetConfigured ¶
func (o *S3ConfigResponse) SetConfigured(v bool)
SetConfigured sets field value
func (*S3ConfigResponse) SetDefaultPrefix ¶
func (o *S3ConfigResponse) SetDefaultPrefix(v string)
SetDefaultPrefix sets field value
func (*S3ConfigResponse) SetEndpointUrl ¶
func (o *S3ConfigResponse) SetEndpointUrl(v string)
SetEndpointUrl sets field value
func (*S3ConfigResponse) SetSecretAccessKeyMasked ¶
func (o *S3ConfigResponse) SetSecretAccessKeyMasked(v string)
SetSecretAccessKeyMasked sets field value
func (S3ConfigResponse) ToMap ¶
func (o S3ConfigResponse) ToMap() (map[string]interface{}, error)
func (*S3ConfigResponse) UnmarshalJSON ¶
func (o *S3ConfigResponse) UnmarshalJSON(data []byte) (err error)
type S3SuccessResponse ¶
type S3SuccessResponse struct {
// Whether the operation succeeded
Success bool `json:"success"`
}
S3SuccessResponse Generic success response for S3 operations
func NewS3SuccessResponse ¶
func NewS3SuccessResponse(success bool) *S3SuccessResponse
NewS3SuccessResponse instantiates a new S3SuccessResponse 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 NewS3SuccessResponseWithDefaults ¶
func NewS3SuccessResponseWithDefaults() *S3SuccessResponse
NewS3SuccessResponseWithDefaults instantiates a new S3SuccessResponse 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 (*S3SuccessResponse) GetSuccess ¶
func (o *S3SuccessResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*S3SuccessResponse) GetSuccessOk ¶
func (o *S3SuccessResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (S3SuccessResponse) MarshalJSON ¶
func (o S3SuccessResponse) MarshalJSON() ([]byte, error)
func (*S3SuccessResponse) SetSuccess ¶
func (o *S3SuccessResponse) SetSuccess(v bool)
SetSuccess sets field value
func (S3SuccessResponse) ToMap ¶
func (o S3SuccessResponse) ToMap() (map[string]interface{}, error)
func (*S3SuccessResponse) UnmarshalJSON ¶
func (o *S3SuccessResponse) UnmarshalJSON(data []byte) (err error)
type S3TestResponse ¶
type S3TestResponse struct {
// Whether the connection test succeeded
Success bool `json:"success"`
// Test result message
Message string `json:"message"`
}
S3TestResponse Response for S3 connection test
func NewS3TestResponse ¶
func NewS3TestResponse(success bool, message string) *S3TestResponse
NewS3TestResponse instantiates a new S3TestResponse 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 NewS3TestResponseWithDefaults ¶
func NewS3TestResponseWithDefaults() *S3TestResponse
NewS3TestResponseWithDefaults instantiates a new S3TestResponse 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 (*S3TestResponse) GetMessage ¶
func (o *S3TestResponse) GetMessage() string
GetMessage returns the Message field value
func (*S3TestResponse) GetMessageOk ¶
func (o *S3TestResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*S3TestResponse) GetSuccess ¶
func (o *S3TestResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*S3TestResponse) GetSuccessOk ¶
func (o *S3TestResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (S3TestResponse) MarshalJSON ¶
func (o S3TestResponse) MarshalJSON() ([]byte, error)
func (*S3TestResponse) SetMessage ¶
func (o *S3TestResponse) SetMessage(v string)
SetMessage sets field value
func (*S3TestResponse) SetSuccess ¶
func (o *S3TestResponse) SetSuccess(v bool)
SetSuccess sets field value
func (S3TestResponse) ToMap ¶
func (o S3TestResponse) ToMap() (map[string]interface{}, error)
func (*S3TestResponse) UnmarshalJSON ¶
func (o *S3TestResponse) UnmarshalJSON(data []byte) (err 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
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TemplateField ¶
type TemplateField struct {
// Field key/identifier
Key string `json:"key"`
// Human-readable label
Label string `json:"label"`
// Field type: string, integer, number, boolean
Type *string `json:"type,omitempty"`
// Whether the field is required
Required *bool `json:"required,omitempty"`
HelpText NullableString `json:"helpText,omitempty"`
}
TemplateField Zapier InputFieldsSchema compatible field
func NewTemplateField ¶
func NewTemplateField(key string, label string) *TemplateField
NewTemplateField instantiates a new TemplateField 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 NewTemplateFieldWithDefaults ¶
func NewTemplateFieldWithDefaults() *TemplateField
NewTemplateFieldWithDefaults instantiates a new TemplateField 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 (*TemplateField) GetHelpText ¶
func (o *TemplateField) GetHelpText() string
GetHelpText returns the HelpText field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TemplateField) GetHelpTextOk ¶
func (o *TemplateField) GetHelpTextOk() (*string, bool)
GetHelpTextOk returns a tuple with the HelpText field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TemplateField) GetKey ¶
func (o *TemplateField) GetKey() string
GetKey returns the Key field value
func (*TemplateField) GetKeyOk ¶
func (o *TemplateField) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*TemplateField) GetLabel ¶
func (o *TemplateField) GetLabel() string
GetLabel returns the Label field value
func (*TemplateField) GetLabelOk ¶
func (o *TemplateField) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*TemplateField) GetRequired ¶
func (o *TemplateField) GetRequired() bool
GetRequired returns the Required field value if set, zero value otherwise.
func (*TemplateField) GetRequiredOk ¶
func (o *TemplateField) GetRequiredOk() (*bool, bool)
GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateField) GetType ¶
func (o *TemplateField) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TemplateField) GetTypeOk ¶
func (o *TemplateField) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateField) HasHelpText ¶
func (o *TemplateField) HasHelpText() bool
HasHelpText returns a boolean if a field has been set.
func (*TemplateField) HasRequired ¶
func (o *TemplateField) HasRequired() bool
HasRequired returns a boolean if a field has been set.
func (*TemplateField) HasType ¶
func (o *TemplateField) HasType() bool
HasType returns a boolean if a field has been set.
func (TemplateField) MarshalJSON ¶
func (o TemplateField) MarshalJSON() ([]byte, error)
func (*TemplateField) SetHelpText ¶
func (o *TemplateField) SetHelpText(v string)
SetHelpText gets a reference to the given NullableString and assigns it to the HelpText field.
func (*TemplateField) SetHelpTextNil ¶
func (o *TemplateField) SetHelpTextNil()
SetHelpTextNil sets the value for HelpText to be an explicit nil
func (*TemplateField) SetLabel ¶
func (o *TemplateField) SetLabel(v string)
SetLabel sets field value
func (*TemplateField) SetRequired ¶
func (o *TemplateField) SetRequired(v bool)
SetRequired gets a reference to the given bool and assigns it to the Required field.
func (*TemplateField) SetType ¶
func (o *TemplateField) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TemplateField) ToMap ¶
func (o TemplateField) ToMap() (map[string]interface{}, error)
func (*TemplateField) UnmarshalJSON ¶
func (o *TemplateField) UnmarshalJSON(data []byte) (err error)
func (*TemplateField) UnsetHelpText ¶
func (o *TemplateField) UnsetHelpText()
UnsetHelpText ensures that no value is present for HelpText, not even an explicit nil
type TemplateListItem ¶
type TemplateListItem struct {
// Template short ID (12 characters)
Id string `json:"id"`
// Template name
Name string `json:"name"`
// ISO 8601 timestamp
CreatedAt string `json:"created_at"`
// ISO 8601 timestamp
UpdatedAt string `json:"updated_at"`
}
TemplateListItem Template item in list response
func NewTemplateListItem ¶
func NewTemplateListItem(id string, name string, createdAt string, updatedAt string) *TemplateListItem
NewTemplateListItem instantiates a new TemplateListItem 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 NewTemplateListItemWithDefaults ¶
func NewTemplateListItemWithDefaults() *TemplateListItem
NewTemplateListItemWithDefaults instantiates a new TemplateListItem 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 (*TemplateListItem) GetCreatedAt ¶
func (o *TemplateListItem) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*TemplateListItem) GetCreatedAtOk ¶
func (o *TemplateListItem) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*TemplateListItem) GetId ¶
func (o *TemplateListItem) GetId() string
GetId returns the Id field value
func (*TemplateListItem) GetIdOk ¶
func (o *TemplateListItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TemplateListItem) GetName ¶
func (o *TemplateListItem) GetName() string
GetName returns the Name field value
func (*TemplateListItem) GetNameOk ¶
func (o *TemplateListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TemplateListItem) GetUpdatedAt ¶
func (o *TemplateListItem) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*TemplateListItem) GetUpdatedAtOk ¶
func (o *TemplateListItem) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (TemplateListItem) MarshalJSON ¶
func (o TemplateListItem) MarshalJSON() ([]byte, error)
func (*TemplateListItem) SetCreatedAt ¶
func (o *TemplateListItem) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*TemplateListItem) SetName ¶
func (o *TemplateListItem) SetName(v string)
SetName sets field value
func (*TemplateListItem) SetUpdatedAt ¶
func (o *TemplateListItem) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (TemplateListItem) ToMap ¶
func (o TemplateListItem) ToMap() (map[string]interface{}, error)
func (*TemplateListItem) UnmarshalJSON ¶
func (o *TemplateListItem) UnmarshalJSON(data []byte) (err error)
type TemplatesAPI ¶
type TemplatesAPI interface {
/*
GetTemplateFields Get template fields
Get the dynamic fields for a template.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Usage:** This endpoint is designed for Zapier Dynamic Fields integration.
It returns an array of field definitions that Zapier uses to dynamically
generate input forms.
**Response format:** Array of objects compatible with Zapier InputFieldsSchema.
Each field has: `key`, `label`, `type`, `required`, and optional `helpText`.
**Field types:**
- `string`: Text input (also used for JSON arrays/objects)
- `integer`: Integer number
- `number`: Decimal number
- `boolean`: True/False checkbox
**Arrays and objects:** Complex types are returned as `string` type with
a `helpText` showing the expected JSON format.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param templateId
@return TemplatesAPIGetTemplateFieldsRequest
*/
GetTemplateFields(ctx context.Context, templateId string) TemplatesAPIGetTemplateFieldsRequest
// GetTemplateFieldsExecute executes the request
// @return []TemplateField
GetTemplateFieldsExecute(r TemplatesAPIGetTemplateFieldsRequest) ([]TemplateField, *http.Response, error)
/*
ListTemplates List templates
List all templates for the authenticated user.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Usage:** This endpoint is designed for no-code tools (Zapier, Make, n8n) to populate
template selection dropdowns.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TemplatesAPIListTemplatesRequest
*/
ListTemplates(ctx context.Context) TemplatesAPIListTemplatesRequest
// ListTemplatesExecute executes the request
// @return TemplatesListResponse
ListTemplatesExecute(r TemplatesAPIListTemplatesRequest) (*TemplatesListResponse, *http.Response, error)
}
type TemplatesAPIGetTemplateFieldsRequest ¶
type TemplatesAPIGetTemplateFieldsRequest struct {
ApiService TemplatesAPI
// contains filtered or unexported fields
}
func (TemplatesAPIGetTemplateFieldsRequest) Execute ¶
func (r TemplatesAPIGetTemplateFieldsRequest) Execute() ([]TemplateField, *http.Response, error)
type TemplatesAPIListTemplatesRequest ¶
type TemplatesAPIListTemplatesRequest struct {
ApiService TemplatesAPI
// contains filtered or unexported fields
}
func (TemplatesAPIListTemplatesRequest) Execute ¶
func (r TemplatesAPIListTemplatesRequest) Execute() (*TemplatesListResponse, *http.Response, error)
type TemplatesAPIService ¶
type TemplatesAPIService service
TemplatesAPIService TemplatesAPI service
func (*TemplatesAPIService) GetTemplateFields ¶
func (a *TemplatesAPIService) GetTemplateFields(ctx context.Context, templateId string) TemplatesAPIGetTemplateFieldsRequest
GetTemplateFields Get template fields
Get the dynamic fields for a template.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Usage:** This endpoint is designed for Zapier Dynamic Fields integration. It returns an array of field definitions that Zapier uses to dynamically generate input forms.
**Response format:** Array of objects compatible with Zapier InputFieldsSchema. Each field has: `key`, `label`, `type`, `required`, and optional `helpText`.
**Field types:** - `string`: Text input (also used for JSON arrays/objects) - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox
**Arrays and objects:** Complex types are returned as `string` type with a `helpText` showing the expected JSON format.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param templateId @return TemplatesAPIGetTemplateFieldsRequest
func (*TemplatesAPIService) GetTemplateFieldsExecute ¶
func (a *TemplatesAPIService) GetTemplateFieldsExecute(r TemplatesAPIGetTemplateFieldsRequest) ([]TemplateField, *http.Response, error)
Execute executes the request
@return []TemplateField
func (*TemplatesAPIService) ListTemplates ¶
func (a *TemplatesAPIService) ListTemplates(ctx context.Context) TemplatesAPIListTemplatesRequest
ListTemplates List templates
List all templates for the authenticated user.
**Authentication:** API Key required (`x-api-key` header) or JWT token
**Usage:** This endpoint is designed for no-code tools (Zapier, Make, n8n) to populate template selection dropdowns.
**No credits consumed:** This is a read-only endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TemplatesAPIListTemplatesRequest
func (*TemplatesAPIService) ListTemplatesExecute ¶
func (a *TemplatesAPIService) ListTemplatesExecute(r TemplatesAPIListTemplatesRequest) (*TemplatesListResponse, *http.Response, error)
Execute executes the request
@return TemplatesListResponse
type TemplatesListResponse ¶
type TemplatesListResponse struct {
Templates []TemplateListItem `json:"templates"`
}
TemplatesListResponse Response for template list endpoint
func NewTemplatesListResponse ¶
func NewTemplatesListResponse(templates []TemplateListItem) *TemplatesListResponse
NewTemplatesListResponse instantiates a new TemplatesListResponse 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 NewTemplatesListResponseWithDefaults ¶
func NewTemplatesListResponseWithDefaults() *TemplatesListResponse
NewTemplatesListResponseWithDefaults instantiates a new TemplatesListResponse 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 (*TemplatesListResponse) GetTemplates ¶
func (o *TemplatesListResponse) GetTemplates() []TemplateListItem
GetTemplates returns the Templates field value
func (*TemplatesListResponse) GetTemplatesOk ¶
func (o *TemplatesListResponse) GetTemplatesOk() ([]TemplateListItem, bool)
GetTemplatesOk returns a tuple with the Templates field value and a boolean to check if the value has been set.
func (TemplatesListResponse) MarshalJSON ¶
func (o TemplatesListResponse) MarshalJSON() ([]byte, error)
func (*TemplatesListResponse) SetTemplates ¶
func (o *TemplatesListResponse) SetTemplates(v []TemplateListItem)
SetTemplates sets field value
func (TemplatesListResponse) ToMap ¶
func (o TemplatesListResponse) ToMap() (map[string]interface{}, error)
func (*TemplatesListResponse) UnmarshalJSON ¶
func (o *TemplatesListResponse) UnmarshalJSON(data []byte) (err error)
type Transaction ¶
type Transaction struct {
// Unique transaction reference (UUID)
TransactionRef string `json:"transaction_ref"`
// Transaction type: PDFGEN, PURCHASE, REFUND, BONUS
TransactionType string `json:"transaction_type"`
TemplateId NullableString `json:"template_id,omitempty"`
ExecTm NullableInt32 `json:"exec_tm,omitempty"`
// Credits consumed (positive) or added (negative)
Credits int32 `json:"credits"`
// ISO 8601 timestamp
CreatedAt string `json:"created_at"`
}
Transaction Transaction record
func NewTransaction ¶
func NewTransaction(transactionRef string, transactionType string, credits int32, createdAt string) *Transaction
NewTransaction instantiates a new Transaction 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 NewTransactionWithDefaults ¶
func NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction 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 (*Transaction) GetCreatedAt ¶
func (o *Transaction) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*Transaction) GetCreatedAtOk ¶
func (o *Transaction) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Transaction) GetCredits ¶
func (o *Transaction) GetCredits() int32
GetCredits returns the Credits field value
func (*Transaction) GetCreditsOk ¶
func (o *Transaction) GetCreditsOk() (*int32, bool)
GetCreditsOk returns a tuple with the Credits field value and a boolean to check if the value has been set.
func (*Transaction) GetExecTm ¶
func (o *Transaction) GetExecTm() int32
GetExecTm returns the ExecTm field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Transaction) GetExecTmOk ¶
func (o *Transaction) GetExecTmOk() (*int32, bool)
GetExecTmOk returns a tuple with the ExecTm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Transaction) GetTemplateId ¶
func (o *Transaction) GetTemplateId() string
GetTemplateId returns the TemplateId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Transaction) GetTemplateIdOk ¶
func (o *Transaction) GetTemplateIdOk() (*string, bool)
GetTemplateIdOk returns a tuple with the TemplateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Transaction) GetTransactionRef ¶
func (o *Transaction) GetTransactionRef() string
GetTransactionRef returns the TransactionRef field value
func (*Transaction) GetTransactionRefOk ¶
func (o *Transaction) GetTransactionRefOk() (*string, bool)
GetTransactionRefOk returns a tuple with the TransactionRef field value and a boolean to check if the value has been set.
func (*Transaction) GetTransactionType ¶
func (o *Transaction) GetTransactionType() string
GetTransactionType returns the TransactionType field value
func (*Transaction) GetTransactionTypeOk ¶
func (o *Transaction) GetTransactionTypeOk() (*string, bool)
GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set.
func (*Transaction) HasExecTm ¶
func (o *Transaction) HasExecTm() bool
HasExecTm returns a boolean if a field has been set.
func (*Transaction) HasTemplateId ¶
func (o *Transaction) HasTemplateId() bool
HasTemplateId returns a boolean if a field has been set.
func (Transaction) MarshalJSON ¶
func (o Transaction) MarshalJSON() ([]byte, error)
func (*Transaction) SetCreatedAt ¶
func (o *Transaction) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*Transaction) SetCredits ¶
func (o *Transaction) SetCredits(v int32)
SetCredits sets field value
func (*Transaction) SetExecTm ¶
func (o *Transaction) SetExecTm(v int32)
SetExecTm gets a reference to the given NullableInt32 and assigns it to the ExecTm field.
func (*Transaction) SetExecTmNil ¶
func (o *Transaction) SetExecTmNil()
SetExecTmNil sets the value for ExecTm to be an explicit nil
func (*Transaction) SetTemplateId ¶
func (o *Transaction) SetTemplateId(v string)
SetTemplateId gets a reference to the given NullableString and assigns it to the TemplateId field.
func (*Transaction) SetTemplateIdNil ¶
func (o *Transaction) SetTemplateIdNil()
SetTemplateIdNil sets the value for TemplateId to be an explicit nil
func (*Transaction) SetTransactionRef ¶
func (o *Transaction) SetTransactionRef(v string)
SetTransactionRef sets field value
func (*Transaction) SetTransactionType ¶
func (o *Transaction) SetTransactionType(v string)
SetTransactionType sets field value
func (Transaction) ToMap ¶
func (o Transaction) ToMap() (map[string]interface{}, error)
func (*Transaction) UnmarshalJSON ¶
func (o *Transaction) UnmarshalJSON(data []byte) (err error)
func (*Transaction) UnsetExecTm ¶
func (o *Transaction) UnsetExecTm()
UnsetExecTm ensures that no value is present for ExecTm, not even an explicit nil
func (*Transaction) UnsetTemplateId ¶
func (o *Transaction) UnsetTemplateId()
UnsetTemplateId ensures that no value is present for TemplateId, not even an explicit nil
type TransactionsResponse ¶
type TransactionsResponse struct {
Transactions []Transaction `json:"transactions"`
// Total number of transactions
Total int32 `json:"total"`
// Number of records returned
Limit int32 `json:"limit"`
// Number of records skipped
Offset int32 `json:"offset"`
}
TransactionsResponse Response for transactions list endpoint
func NewTransactionsResponse ¶
func NewTransactionsResponse(transactions []Transaction, total int32, limit int32, offset int32) *TransactionsResponse
NewTransactionsResponse instantiates a new TransactionsResponse 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 NewTransactionsResponseWithDefaults ¶
func NewTransactionsResponseWithDefaults() *TransactionsResponse
NewTransactionsResponseWithDefaults instantiates a new TransactionsResponse 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 (*TransactionsResponse) GetLimit ¶
func (o *TransactionsResponse) GetLimit() int32
GetLimit returns the Limit field value
func (*TransactionsResponse) GetLimitOk ¶
func (o *TransactionsResponse) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*TransactionsResponse) GetOffset ¶
func (o *TransactionsResponse) GetOffset() int32
GetOffset returns the Offset field value
func (*TransactionsResponse) GetOffsetOk ¶
func (o *TransactionsResponse) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.
func (*TransactionsResponse) GetTotal ¶
func (o *TransactionsResponse) GetTotal() int32
GetTotal returns the Total field value
func (*TransactionsResponse) GetTotalOk ¶
func (o *TransactionsResponse) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*TransactionsResponse) GetTransactions ¶
func (o *TransactionsResponse) GetTransactions() []Transaction
GetTransactions returns the Transactions field value
func (*TransactionsResponse) GetTransactionsOk ¶
func (o *TransactionsResponse) GetTransactionsOk() ([]Transaction, bool)
GetTransactionsOk returns a tuple with the Transactions field value and a boolean to check if the value has been set.
func (TransactionsResponse) MarshalJSON ¶
func (o TransactionsResponse) MarshalJSON() ([]byte, error)
func (*TransactionsResponse) SetLimit ¶
func (o *TransactionsResponse) SetLimit(v int32)
SetLimit sets field value
func (*TransactionsResponse) SetOffset ¶
func (o *TransactionsResponse) SetOffset(v int32)
SetOffset sets field value
func (*TransactionsResponse) SetTotal ¶
func (o *TransactionsResponse) SetTotal(v int32)
SetTotal sets field value
func (*TransactionsResponse) SetTransactions ¶
func (o *TransactionsResponse) SetTransactions(v []Transaction)
SetTransactions sets field value
func (TransactionsResponse) ToMap ¶
func (o TransactionsResponse) ToMap() (map[string]interface{}, error)
func (*TransactionsResponse) UnmarshalJSON ¶
func (o *TransactionsResponse) UnmarshalJSON(data []byte) (err error)
type ValidationError ¶
type ValidationError struct {
Loc []LocationInner `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(loc []LocationInner, msg string, type_ string) *ValidationError
NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetLoc ¶
func (o *ValidationError) GetLoc() []LocationInner
GetLoc returns the Loc field value
func (*ValidationError) GetLocOk ¶
func (o *ValidationError) GetLocOk() ([]LocationInner, bool)
GetLocOk returns a tuple with the Loc field value and a boolean to check if the value has been set.
func (*ValidationError) GetMsg ¶
func (o *ValidationError) GetMsg() string
GetMsg returns the Msg field value
func (*ValidationError) GetMsgOk ¶
func (o *ValidationError) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (*ValidationError) GetType ¶
func (o *ValidationError) GetType() string
GetType returns the Type field value
func (*ValidationError) GetTypeOk ¶
func (o *ValidationError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetLoc ¶
func (o *ValidationError) SetLoc(v []LocationInner)
SetLoc sets field value
func (*ValidationError) SetType ¶
func (o *ValidationError) SetType(v string)
SetType sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
func (*ValidationError) UnmarshalJSON ¶
func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_account.go
- api_integrations.go
- api_pdf.go
- api_templates.go
- client.go
- configuration.go
- model_account_info_response.go
- model_create_pdf_request.go
- model_create_pdf_response.go
- model_export_type.go
- model_http_validation_error.go
- model_location_inner.go
- model_s3_config_request.go
- model_s3_config_response.go
- model_s3_success_response.go
- model_s3_test_response.go
- model_template_field.go
- model_template_list_item.go
- model_templates_list_response.go
- model_transaction.go
- model_transactions_response.go
- model_validation_error.go
- response.go
- utils.go