client

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for client

Moov Bai2 (Automated Clearing House) implements an HTTP API for creating, parsing and validating Bais files. BAI2- a widely accepted and used Bank Statement Format for Bank Reconciliation.

Overview

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

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://github.com/moov-io/bai2

Installation

Install the following dependencies:

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

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

import client "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to http://localhost:8208

Class Method HTTP request Description
Bai2FilesAPI Format Post /format Format bai2 file after parse bin file
Bai2FilesAPI Health Get /health health bai2 service
Bai2FilesAPI Parse Post /parse Parse bai2 file after parse bin file
Bai2FilesAPI Print Post /print Print bai2 file after parse bin file

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

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

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

func IsNil added in v0.3.0

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	Bai2FilesAPI *Bai2FilesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the BAI2 API API vv1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type Account added in v0.3.0

type Account struct {
	AccountNumber       *string          `json:"accountNumber,omitempty"`
	CurrencyCode        *string          `json:"currencyCode,omitempty"`
	Summaries           []AccountSummary `json:"summaries,omitempty"`
	AccountControlTotal *string          `json:"accountControlTotal,omitempty"`
	NumberOfRecords     *int32           `json:"numberOfRecords,omitempty"`
	Details             []Detail         `json:"Details,omitempty"`
}

Account struct for Account

func NewAccount added in v0.3.0

func NewAccount() *Account

NewAccount instantiates a new Account 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 NewAccountWithDefaults added in v0.3.0

func NewAccountWithDefaults() *Account

NewAccountWithDefaults instantiates a new Account 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 (*Account) GetAccountControlTotal added in v0.3.0

func (o *Account) GetAccountControlTotal() string

GetAccountControlTotal returns the AccountControlTotal field value if set, zero value otherwise.

func (*Account) GetAccountControlTotalOk added in v0.3.0

func (o *Account) GetAccountControlTotalOk() (*string, bool)

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

func (*Account) GetAccountNumber added in v0.3.0

func (o *Account) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*Account) GetAccountNumberOk added in v0.3.0

func (o *Account) GetAccountNumberOk() (*string, bool)

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

func (*Account) GetCurrencyCode added in v0.3.0

func (o *Account) GetCurrencyCode() string

GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.

func (*Account) GetCurrencyCodeOk added in v0.3.0

func (o *Account) GetCurrencyCodeOk() (*string, bool)

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

func (*Account) GetDetails added in v0.3.0

func (o *Account) GetDetails() []Detail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Account) GetDetailsOk added in v0.3.0

func (o *Account) GetDetailsOk() ([]Detail, bool)

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

func (*Account) GetNumberOfRecords added in v0.3.0

func (o *Account) GetNumberOfRecords() int32

GetNumberOfRecords returns the NumberOfRecords field value if set, zero value otherwise.

func (*Account) GetNumberOfRecordsOk added in v0.3.0

func (o *Account) GetNumberOfRecordsOk() (*int32, bool)

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

func (*Account) GetSummaries added in v0.3.0

func (o *Account) GetSummaries() []AccountSummary

GetSummaries returns the Summaries field value if set, zero value otherwise.

func (*Account) GetSummariesOk added in v0.3.0

func (o *Account) GetSummariesOk() ([]AccountSummary, bool)

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

func (*Account) HasAccountControlTotal added in v0.3.0

func (o *Account) HasAccountControlTotal() bool

HasAccountControlTotal returns a boolean if a field has been set.

func (*Account) HasAccountNumber added in v0.3.0

func (o *Account) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*Account) HasCurrencyCode added in v0.3.0

func (o *Account) HasCurrencyCode() bool

HasCurrencyCode returns a boolean if a field has been set.

func (*Account) HasDetails added in v0.3.0

func (o *Account) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Account) HasNumberOfRecords added in v0.3.0

func (o *Account) HasNumberOfRecords() bool

HasNumberOfRecords returns a boolean if a field has been set.

func (*Account) HasSummaries added in v0.3.0

func (o *Account) HasSummaries() bool

HasSummaries returns a boolean if a field has been set.

func (Account) MarshalJSON added in v0.3.0

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

func (*Account) SetAccountControlTotal added in v0.3.0

func (o *Account) SetAccountControlTotal(v string)

SetAccountControlTotal gets a reference to the given string and assigns it to the AccountControlTotal field.

func (*Account) SetAccountNumber added in v0.3.0

func (o *Account) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*Account) SetCurrencyCode added in v0.3.0

func (o *Account) SetCurrencyCode(v string)

SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.

func (*Account) SetDetails added in v0.3.0

func (o *Account) SetDetails(v []Detail)

SetDetails gets a reference to the given []Detail and assigns it to the Details field.

func (*Account) SetNumberOfRecords added in v0.3.0

func (o *Account) SetNumberOfRecords(v int32)

SetNumberOfRecords gets a reference to the given int32 and assigns it to the NumberOfRecords field.

func (*Account) SetSummaries added in v0.3.0

func (o *Account) SetSummaries(v []AccountSummary)

SetSummaries gets a reference to the given []AccountSummary and assigns it to the Summaries field.

func (Account) ToMap added in v0.3.0

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

type AccountSummary added in v0.3.0

type AccountSummary struct {
	TypeCode  *string    `json:"TypeCode,omitempty"`
	Amount    *string    `json:"Amount,omitempty"`
	ItemCount *int32     `json:"ItemCount,omitempty"`
	FundsType *FundsType `json:"FundsType,omitempty"`
}

AccountSummary struct for AccountSummary

func NewAccountSummary added in v0.3.0

func NewAccountSummary() *AccountSummary

NewAccountSummary instantiates a new AccountSummary 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 NewAccountSummaryWithDefaults added in v0.3.0

func NewAccountSummaryWithDefaults() *AccountSummary

NewAccountSummaryWithDefaults instantiates a new AccountSummary 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 (*AccountSummary) GetAmount added in v0.3.0

func (o *AccountSummary) GetAmount() string

GetAmount returns the Amount field value if set, zero value otherwise.

func (*AccountSummary) GetAmountOk added in v0.3.0

func (o *AccountSummary) GetAmountOk() (*string, bool)

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

func (*AccountSummary) GetFundsType added in v0.3.0

func (o *AccountSummary) GetFundsType() FundsType

GetFundsType returns the FundsType field value if set, zero value otherwise.

func (*AccountSummary) GetFundsTypeOk added in v0.3.0

func (o *AccountSummary) GetFundsTypeOk() (*FundsType, bool)

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

func (*AccountSummary) GetItemCount added in v0.3.0

func (o *AccountSummary) GetItemCount() int32

GetItemCount returns the ItemCount field value if set, zero value otherwise.

func (*AccountSummary) GetItemCountOk added in v0.3.0

func (o *AccountSummary) GetItemCountOk() (*int32, bool)

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

func (*AccountSummary) GetTypeCode added in v0.3.0

func (o *AccountSummary) GetTypeCode() string

GetTypeCode returns the TypeCode field value if set, zero value otherwise.

func (*AccountSummary) GetTypeCodeOk added in v0.3.0

func (o *AccountSummary) GetTypeCodeOk() (*string, bool)

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

func (*AccountSummary) HasAmount added in v0.3.0

func (o *AccountSummary) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*AccountSummary) HasFundsType added in v0.3.0

func (o *AccountSummary) HasFundsType() bool

HasFundsType returns a boolean if a field has been set.

func (*AccountSummary) HasItemCount added in v0.3.0

func (o *AccountSummary) HasItemCount() bool

HasItemCount returns a boolean if a field has been set.

func (*AccountSummary) HasTypeCode added in v0.3.0

func (o *AccountSummary) HasTypeCode() bool

HasTypeCode returns a boolean if a field has been set.

func (AccountSummary) MarshalJSON added in v0.3.0

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

func (*AccountSummary) SetAmount added in v0.3.0

func (o *AccountSummary) SetAmount(v string)

SetAmount gets a reference to the given string and assigns it to the Amount field.

func (*AccountSummary) SetFundsType added in v0.3.0

func (o *AccountSummary) SetFundsType(v FundsType)

SetFundsType gets a reference to the given FundsType and assigns it to the FundsType field.

func (*AccountSummary) SetItemCount added in v0.3.0

func (o *AccountSummary) SetItemCount(v int32)

SetItemCount gets a reference to the given int32 and assigns it to the ItemCount field.

func (*AccountSummary) SetTypeCode added in v0.3.0

func (o *AccountSummary) SetTypeCode(v string)

SetTypeCode gets a reference to the given string and assigns it to the TypeCode field.

func (AccountSummary) ToMap added in v0.3.0

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

type ApiFormatRequest added in v0.3.0

type ApiFormatRequest struct {
	ApiService *Bai2FilesAPIService
	// contains filtered or unexported fields
}

func (ApiFormatRequest) Execute added in v0.3.0

func (r ApiFormatRequest) Execute() (*File, *http.Response, error)

func (ApiFormatRequest) Input added in v0.3.0

func (r ApiFormatRequest) Input(input *os.File) ApiFormatRequest

bai2 bin file

type ApiHealthRequest

type ApiHealthRequest struct {
	ApiService *Bai2FilesAPIService
	// contains filtered or unexported fields
}

func (ApiHealthRequest) Execute

func (r ApiHealthRequest) Execute() (string, *http.Response, error)

type ApiParseRequest

type ApiParseRequest struct {
	ApiService *Bai2FilesAPIService
	// contains filtered or unexported fields
}

func (ApiParseRequest) Execute

func (r ApiParseRequest) Execute() (string, *http.Response, error)

func (ApiParseRequest) Input

func (r ApiParseRequest) Input(input *os.File) ApiParseRequest

bai2 bin file

type ApiPrintRequest

type ApiPrintRequest struct {
	ApiService *Bai2FilesAPIService
	// contains filtered or unexported fields
}

func (ApiPrintRequest) Execute

func (r ApiPrintRequest) Execute() (string, *http.Response, error)

func (ApiPrintRequest) Input

func (r ApiPrintRequest) Input(input *os.File) ApiPrintRequest

bai2 bin file

type Bai2FilesAPIService added in v0.3.0

type Bai2FilesAPIService service

Bai2FilesAPIService Bai2FilesAPI service

func (*Bai2FilesAPIService) Format added in v0.3.0

Format Format bai2 file after parse bin file

format bai2 file.

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

func (*Bai2FilesAPIService) FormatExecute added in v0.3.0

func (a *Bai2FilesAPIService) FormatExecute(r ApiFormatRequest) (*File, *http.Response, error)

Execute executes the request

@return File

func (*Bai2FilesAPIService) Health added in v0.3.0

Health health bai2 service

Check the bai2 service to check if running

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

func (*Bai2FilesAPIService) HealthExecute added in v0.3.0

func (a *Bai2FilesAPIService) HealthExecute(r ApiHealthRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*Bai2FilesAPIService) Parse added in v0.3.0

Parse Parse bai2 file after parse bin file

parse bai2 file.

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

func (*Bai2FilesAPIService) ParseExecute added in v0.3.0

func (a *Bai2FilesAPIService) ParseExecute(r ApiParseRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*Bai2FilesAPIService) Print added in v0.3.0

Print Print bai2 file after parse bin file

Print bai2 file.

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

func (*Bai2FilesAPIService) PrintExecute added in v0.3.0

func (a *Bai2FilesAPIService) PrintExecute(r ApiPrintRequest) (string, *http.Response, error)

Execute executes the request

@return string

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type Detail added in v0.3.0

type Detail struct {
	TypeCode                *string    `json:"TypeCode,omitempty"`
	Amount                  *string    `json:"Amount,omitempty"`
	FundsType               *FundsType `json:"FundsType,omitempty"`
	BankReferenceNumber     *string    `json:"BankReferenceNumber,omitempty"`
	CustomerReferenceNumber *string    `json:"CustomerReferenceNumber,omitempty"`
	Text                    *string    `json:"Text,omitempty"`
}

Detail struct for Detail

func NewDetail added in v0.3.0

func NewDetail() *Detail

NewDetail instantiates a new Detail 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 NewDetailWithDefaults added in v0.3.0

func NewDetailWithDefaults() *Detail

NewDetailWithDefaults instantiates a new Detail 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 (*Detail) GetAmount added in v0.3.0

func (o *Detail) GetAmount() string

GetAmount returns the Amount field value if set, zero value otherwise.

func (*Detail) GetAmountOk added in v0.3.0

func (o *Detail) GetAmountOk() (*string, bool)

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

func (*Detail) GetBankReferenceNumber added in v0.3.0

func (o *Detail) GetBankReferenceNumber() string

GetBankReferenceNumber returns the BankReferenceNumber field value if set, zero value otherwise.

func (*Detail) GetBankReferenceNumberOk added in v0.3.0

func (o *Detail) GetBankReferenceNumberOk() (*string, bool)

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

func (*Detail) GetCustomerReferenceNumber added in v0.3.0

func (o *Detail) GetCustomerReferenceNumber() string

GetCustomerReferenceNumber returns the CustomerReferenceNumber field value if set, zero value otherwise.

func (*Detail) GetCustomerReferenceNumberOk added in v0.3.0

func (o *Detail) GetCustomerReferenceNumberOk() (*string, bool)

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

func (*Detail) GetFundsType added in v0.3.0

func (o *Detail) GetFundsType() FundsType

GetFundsType returns the FundsType field value if set, zero value otherwise.

func (*Detail) GetFundsTypeOk added in v0.3.0

func (o *Detail) GetFundsTypeOk() (*FundsType, bool)

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

func (*Detail) GetText added in v0.3.0

func (o *Detail) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*Detail) GetTextOk added in v0.3.0

func (o *Detail) GetTextOk() (*string, bool)

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

func (*Detail) GetTypeCode added in v0.3.0

func (o *Detail) GetTypeCode() string

GetTypeCode returns the TypeCode field value if set, zero value otherwise.

func (*Detail) GetTypeCodeOk added in v0.3.0

func (o *Detail) GetTypeCodeOk() (*string, bool)

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

func (*Detail) HasAmount added in v0.3.0

func (o *Detail) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*Detail) HasBankReferenceNumber added in v0.3.0

func (o *Detail) HasBankReferenceNumber() bool

HasBankReferenceNumber returns a boolean if a field has been set.

func (*Detail) HasCustomerReferenceNumber added in v0.3.0

func (o *Detail) HasCustomerReferenceNumber() bool

HasCustomerReferenceNumber returns a boolean if a field has been set.

func (*Detail) HasFundsType added in v0.3.0

func (o *Detail) HasFundsType() bool

HasFundsType returns a boolean if a field has been set.

func (*Detail) HasText added in v0.3.0

func (o *Detail) HasText() bool

HasText returns a boolean if a field has been set.

func (*Detail) HasTypeCode added in v0.3.0

func (o *Detail) HasTypeCode() bool

HasTypeCode returns a boolean if a field has been set.

func (Detail) MarshalJSON added in v0.3.0

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

func (*Detail) SetAmount added in v0.3.0

func (o *Detail) SetAmount(v string)

SetAmount gets a reference to the given string and assigns it to the Amount field.

func (*Detail) SetBankReferenceNumber added in v0.3.0

func (o *Detail) SetBankReferenceNumber(v string)

SetBankReferenceNumber gets a reference to the given string and assigns it to the BankReferenceNumber field.

func (*Detail) SetCustomerReferenceNumber added in v0.3.0

func (o *Detail) SetCustomerReferenceNumber(v string)

SetCustomerReferenceNumber gets a reference to the given string and assigns it to the CustomerReferenceNumber field.

func (*Detail) SetFundsType added in v0.3.0

func (o *Detail) SetFundsType(v FundsType)

SetFundsType gets a reference to the given FundsType and assigns it to the FundsType field.

func (*Detail) SetText added in v0.3.0

func (o *Detail) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*Detail) SetTypeCode added in v0.3.0

func (o *Detail) SetTypeCode(v string)

SetTypeCode gets a reference to the given string and assigns it to the TypeCode field.

func (Detail) ToMap added in v0.3.0

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

type Distribution added in v0.3.0

type Distribution struct {
	Day    *int32 `json:"day,omitempty"`
	Amount *int32 `json:"amount,omitempty"`
}

Distribution struct for Distribution

func NewDistribution added in v0.3.0

func NewDistribution() *Distribution

NewDistribution instantiates a new Distribution 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 NewDistributionWithDefaults added in v0.3.0

func NewDistributionWithDefaults() *Distribution

NewDistributionWithDefaults instantiates a new Distribution 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 (*Distribution) GetAmount added in v0.3.0

func (o *Distribution) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*Distribution) GetAmountOk added in v0.3.0

func (o *Distribution) GetAmountOk() (*int32, bool)

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

func (*Distribution) GetDay added in v0.3.0

func (o *Distribution) GetDay() int32

GetDay returns the Day field value if set, zero value otherwise.

func (*Distribution) GetDayOk added in v0.3.0

func (o *Distribution) GetDayOk() (*int32, bool)

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

func (*Distribution) HasAmount added in v0.3.0

func (o *Distribution) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*Distribution) HasDay added in v0.3.0

func (o *Distribution) HasDay() bool

HasDay returns a boolean if a field has been set.

func (Distribution) MarshalJSON added in v0.3.0

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

func (*Distribution) SetAmount added in v0.3.0

func (o *Distribution) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*Distribution) SetDay added in v0.3.0

func (o *Distribution) SetDay(v int32)

SetDay gets a reference to the given int32 and assigns it to the Day field.

func (Distribution) ToMap added in v0.3.0

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

type File added in v0.3.0

type File struct {
	Sender               *string `json:"sender,omitempty"`
	Receiver             *string `json:"receiver,omitempty"`
	FileCreatedDate      *string `json:"fileCreatedDate,omitempty"`
	FileCreatedTime      *string `json:"fileCreatedTime,omitempty"`
	FileIdNumber         *string `json:"fileIdNumber,omitempty"`
	PhysicalRecordLength *int32  `json:"physicalRecordLength,omitempty"`
	BlockSize            *int32  `json:"blockSize,omitempty"`
	VersionNumber        *int32  `json:"versionNumber,omitempty"`
	FileControlTotal     *string `json:"fileControlTotal,omitempty"`
	NumberOfGroups       *int32  `json:"numberOfGroups,omitempty"`
	NumberOfRecords      *int32  `json:"numberOfRecords,omitempty"`
	Groups               []Group `json:"Groups,omitempty"`
}

File struct for File

func NewFile added in v0.3.0

func NewFile() *File

NewFile instantiates a new File 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 NewFileWithDefaults added in v0.3.0

func NewFileWithDefaults() *File

NewFileWithDefaults instantiates a new File 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 (*File) GetBlockSize added in v0.3.0

func (o *File) GetBlockSize() int32

GetBlockSize returns the BlockSize field value if set, zero value otherwise.

func (*File) GetBlockSizeOk added in v0.3.0

func (o *File) GetBlockSizeOk() (*int32, bool)

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

func (*File) GetFileControlTotal added in v0.3.0

func (o *File) GetFileControlTotal() string

GetFileControlTotal returns the FileControlTotal field value if set, zero value otherwise.

func (*File) GetFileControlTotalOk added in v0.3.0

func (o *File) GetFileControlTotalOk() (*string, bool)

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

func (*File) GetFileCreatedDate added in v0.3.0

func (o *File) GetFileCreatedDate() string

GetFileCreatedDate returns the FileCreatedDate field value if set, zero value otherwise.

func (*File) GetFileCreatedDateOk added in v0.3.0

func (o *File) GetFileCreatedDateOk() (*string, bool)

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

func (*File) GetFileCreatedTime added in v0.3.0

func (o *File) GetFileCreatedTime() string

GetFileCreatedTime returns the FileCreatedTime field value if set, zero value otherwise.

func (*File) GetFileCreatedTimeOk added in v0.3.0

func (o *File) GetFileCreatedTimeOk() (*string, bool)

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

func (*File) GetFileIdNumber added in v0.3.0

func (o *File) GetFileIdNumber() string

GetFileIdNumber returns the FileIdNumber field value if set, zero value otherwise.

func (*File) GetFileIdNumberOk added in v0.3.0

func (o *File) GetFileIdNumberOk() (*string, bool)

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

func (*File) GetGroups added in v0.3.0

func (o *File) GetGroups() []Group

GetGroups returns the Groups field value if set, zero value otherwise.

func (*File) GetGroupsOk added in v0.3.0

func (o *File) GetGroupsOk() ([]Group, bool)

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

func (*File) GetNumberOfGroups added in v0.3.0

func (o *File) GetNumberOfGroups() int32

GetNumberOfGroups returns the NumberOfGroups field value if set, zero value otherwise.

func (*File) GetNumberOfGroupsOk added in v0.3.0

func (o *File) GetNumberOfGroupsOk() (*int32, bool)

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

func (*File) GetNumberOfRecords added in v0.3.0

func (o *File) GetNumberOfRecords() int32

GetNumberOfRecords returns the NumberOfRecords field value if set, zero value otherwise.

func (*File) GetNumberOfRecordsOk added in v0.3.0

func (o *File) GetNumberOfRecordsOk() (*int32, bool)

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

func (*File) GetPhysicalRecordLength added in v0.3.0

func (o *File) GetPhysicalRecordLength() int32

GetPhysicalRecordLength returns the PhysicalRecordLength field value if set, zero value otherwise.

func (*File) GetPhysicalRecordLengthOk added in v0.3.0

func (o *File) GetPhysicalRecordLengthOk() (*int32, bool)

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

func (*File) GetReceiver added in v0.3.0

func (o *File) GetReceiver() string

GetReceiver returns the Receiver field value if set, zero value otherwise.

func (*File) GetReceiverOk added in v0.3.0

func (o *File) GetReceiverOk() (*string, bool)

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

func (*File) GetSender added in v0.3.0

func (o *File) GetSender() string

GetSender returns the Sender field value if set, zero value otherwise.

func (*File) GetSenderOk added in v0.3.0

func (o *File) GetSenderOk() (*string, bool)

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

func (*File) GetVersionNumber added in v0.3.0

func (o *File) GetVersionNumber() int32

GetVersionNumber returns the VersionNumber field value if set, zero value otherwise.

func (*File) GetVersionNumberOk added in v0.3.0

func (o *File) GetVersionNumberOk() (*int32, bool)

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

func (*File) HasBlockSize added in v0.3.0

func (o *File) HasBlockSize() bool

HasBlockSize returns a boolean if a field has been set.

func (*File) HasFileControlTotal added in v0.3.0

func (o *File) HasFileControlTotal() bool

HasFileControlTotal returns a boolean if a field has been set.

func (*File) HasFileCreatedDate added in v0.3.0

func (o *File) HasFileCreatedDate() bool

HasFileCreatedDate returns a boolean if a field has been set.

func (*File) HasFileCreatedTime added in v0.3.0

func (o *File) HasFileCreatedTime() bool

HasFileCreatedTime returns a boolean if a field has been set.

func (*File) HasFileIdNumber added in v0.3.0

func (o *File) HasFileIdNumber() bool

HasFileIdNumber returns a boolean if a field has been set.

func (*File) HasGroups added in v0.3.0

func (o *File) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*File) HasNumberOfGroups added in v0.3.0

func (o *File) HasNumberOfGroups() bool

HasNumberOfGroups returns a boolean if a field has been set.

func (*File) HasNumberOfRecords added in v0.3.0

func (o *File) HasNumberOfRecords() bool

HasNumberOfRecords returns a boolean if a field has been set.

func (*File) HasPhysicalRecordLength added in v0.3.0

func (o *File) HasPhysicalRecordLength() bool

HasPhysicalRecordLength returns a boolean if a field has been set.

func (*File) HasReceiver added in v0.3.0

func (o *File) HasReceiver() bool

HasReceiver returns a boolean if a field has been set.

func (*File) HasSender added in v0.3.0

func (o *File) HasSender() bool

HasSender returns a boolean if a field has been set.

func (*File) HasVersionNumber added in v0.3.0

func (o *File) HasVersionNumber() bool

HasVersionNumber returns a boolean if a field has been set.

func (File) MarshalJSON added in v0.3.0

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

func (*File) SetBlockSize added in v0.3.0

func (o *File) SetBlockSize(v int32)

SetBlockSize gets a reference to the given int32 and assigns it to the BlockSize field.

func (*File) SetFileControlTotal added in v0.3.0

func (o *File) SetFileControlTotal(v string)

SetFileControlTotal gets a reference to the given string and assigns it to the FileControlTotal field.

func (*File) SetFileCreatedDate added in v0.3.0

func (o *File) SetFileCreatedDate(v string)

SetFileCreatedDate gets a reference to the given string and assigns it to the FileCreatedDate field.

func (*File) SetFileCreatedTime added in v0.3.0

func (o *File) SetFileCreatedTime(v string)

SetFileCreatedTime gets a reference to the given string and assigns it to the FileCreatedTime field.

func (*File) SetFileIdNumber added in v0.3.0

func (o *File) SetFileIdNumber(v string)

SetFileIdNumber gets a reference to the given string and assigns it to the FileIdNumber field.

func (*File) SetGroups added in v0.3.0

func (o *File) SetGroups(v []Group)

SetGroups gets a reference to the given []Group and assigns it to the Groups field.

func (*File) SetNumberOfGroups added in v0.3.0

func (o *File) SetNumberOfGroups(v int32)

SetNumberOfGroups gets a reference to the given int32 and assigns it to the NumberOfGroups field.

func (*File) SetNumberOfRecords added in v0.3.0

func (o *File) SetNumberOfRecords(v int32)

SetNumberOfRecords gets a reference to the given int32 and assigns it to the NumberOfRecords field.

func (*File) SetPhysicalRecordLength added in v0.3.0

func (o *File) SetPhysicalRecordLength(v int32)

SetPhysicalRecordLength gets a reference to the given int32 and assigns it to the PhysicalRecordLength field.

func (*File) SetReceiver added in v0.3.0

func (o *File) SetReceiver(v string)

SetReceiver gets a reference to the given string and assigns it to the Receiver field.

func (*File) SetSender added in v0.3.0

func (o *File) SetSender(v string)

SetSender gets a reference to the given string and assigns it to the Sender field.

func (*File) SetVersionNumber added in v0.3.0

func (o *File) SetVersionNumber(v int32)

SetVersionNumber gets a reference to the given int32 and assigns it to the VersionNumber field.

func (File) ToMap added in v0.3.0

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

type FundsType added in v0.3.0

type FundsType struct {
	TypeCode           *string        `json:"type_code,omitempty"`
	Date               *string        `json:"date,omitempty"`
	Time               *string        `json:"time,omitempty"`
	ImmediateAmount    *string        `json:"immediate_amount,omitempty"`
	OneDayAmount       *string        `json:"one_day_amount,omitempty"`
	TwoDayAmount       *string        `json:"two_day_amount,omitempty"`
	DistributionNumber *int32         `json:"distribution_number,omitempty"`
	Distributions      []Distribution `json:"distributions,omitempty"`
}

FundsType struct for FundsType

func NewFundsType added in v0.3.0

func NewFundsType() *FundsType

NewFundsType instantiates a new FundsType 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 NewFundsTypeWithDefaults added in v0.3.0

func NewFundsTypeWithDefaults() *FundsType

NewFundsTypeWithDefaults instantiates a new FundsType 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 (*FundsType) GetDate added in v0.3.0

func (o *FundsType) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*FundsType) GetDateOk added in v0.3.0

func (o *FundsType) GetDateOk() (*string, bool)

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

func (*FundsType) GetDistributionNumber added in v0.3.0

func (o *FundsType) GetDistributionNumber() int32

GetDistributionNumber returns the DistributionNumber field value if set, zero value otherwise.

func (*FundsType) GetDistributionNumberOk added in v0.3.0

func (o *FundsType) GetDistributionNumberOk() (*int32, bool)

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

func (*FundsType) GetDistributions added in v0.3.0

func (o *FundsType) GetDistributions() []Distribution

GetDistributions returns the Distributions field value if set, zero value otherwise.

func (*FundsType) GetDistributionsOk added in v0.3.0

func (o *FundsType) GetDistributionsOk() ([]Distribution, bool)

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

func (*FundsType) GetImmediateAmount added in v0.3.0

func (o *FundsType) GetImmediateAmount() string

GetImmediateAmount returns the ImmediateAmount field value if set, zero value otherwise.

func (*FundsType) GetImmediateAmountOk added in v0.3.0

func (o *FundsType) GetImmediateAmountOk() (*string, bool)

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

func (*FundsType) GetOneDayAmount added in v0.3.0

func (o *FundsType) GetOneDayAmount() string

GetOneDayAmount returns the OneDayAmount field value if set, zero value otherwise.

func (*FundsType) GetOneDayAmountOk added in v0.3.0

func (o *FundsType) GetOneDayAmountOk() (*string, bool)

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

func (*FundsType) GetTime added in v0.3.0

func (o *FundsType) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*FundsType) GetTimeOk added in v0.3.0

func (o *FundsType) GetTimeOk() (*string, bool)

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

func (*FundsType) GetTwoDayAmount added in v0.3.0

func (o *FundsType) GetTwoDayAmount() string

GetTwoDayAmount returns the TwoDayAmount field value if set, zero value otherwise.

func (*FundsType) GetTwoDayAmountOk added in v0.3.0

func (o *FundsType) GetTwoDayAmountOk() (*string, bool)

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

func (*FundsType) GetTypeCode added in v0.3.0

func (o *FundsType) GetTypeCode() string

GetTypeCode returns the TypeCode field value if set, zero value otherwise.

func (*FundsType) GetTypeCodeOk added in v0.3.0

func (o *FundsType) GetTypeCodeOk() (*string, bool)

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

func (*FundsType) HasDate added in v0.3.0

func (o *FundsType) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*FundsType) HasDistributionNumber added in v0.3.0

func (o *FundsType) HasDistributionNumber() bool

HasDistributionNumber returns a boolean if a field has been set.

func (*FundsType) HasDistributions added in v0.3.0

func (o *FundsType) HasDistributions() bool

HasDistributions returns a boolean if a field has been set.

func (*FundsType) HasImmediateAmount added in v0.3.0

func (o *FundsType) HasImmediateAmount() bool

HasImmediateAmount returns a boolean if a field has been set.

func (*FundsType) HasOneDayAmount added in v0.3.0

func (o *FundsType) HasOneDayAmount() bool

HasOneDayAmount returns a boolean if a field has been set.

func (*FundsType) HasTime added in v0.3.0

func (o *FundsType) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*FundsType) HasTwoDayAmount added in v0.3.0

func (o *FundsType) HasTwoDayAmount() bool

HasTwoDayAmount returns a boolean if a field has been set.

func (*FundsType) HasTypeCode added in v0.3.0

func (o *FundsType) HasTypeCode() bool

HasTypeCode returns a boolean if a field has been set.

func (FundsType) MarshalJSON added in v0.3.0

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

func (*FundsType) SetDate added in v0.3.0

func (o *FundsType) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*FundsType) SetDistributionNumber added in v0.3.0

func (o *FundsType) SetDistributionNumber(v int32)

SetDistributionNumber gets a reference to the given int32 and assigns it to the DistributionNumber field.

func (*FundsType) SetDistributions added in v0.3.0

func (o *FundsType) SetDistributions(v []Distribution)

SetDistributions gets a reference to the given []Distribution and assigns it to the Distributions field.

func (*FundsType) SetImmediateAmount added in v0.3.0

func (o *FundsType) SetImmediateAmount(v string)

SetImmediateAmount gets a reference to the given string and assigns it to the ImmediateAmount field.

func (*FundsType) SetOneDayAmount added in v0.3.0

func (o *FundsType) SetOneDayAmount(v string)

SetOneDayAmount gets a reference to the given string and assigns it to the OneDayAmount field.

func (*FundsType) SetTime added in v0.3.0

func (o *FundsType) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (*FundsType) SetTwoDayAmount added in v0.3.0

func (o *FundsType) SetTwoDayAmount(v string)

SetTwoDayAmount gets a reference to the given string and assigns it to the TwoDayAmount field.

func (*FundsType) SetTypeCode added in v0.3.0

func (o *FundsType) SetTypeCode(v string)

SetTypeCode gets a reference to the given string and assigns it to the TypeCode field.

func (FundsType) ToMap added in v0.3.0

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

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Group added in v0.3.0

type Group struct {
	Receiver          *string   `json:"receiver,omitempty"`
	Originator        *string   `json:"originator,omitempty"`
	GroupStatus       *int32    `json:"groupStatus,omitempty"`
	AsOfDate          *string   `json:"asOfDate,omitempty"`
	CurrencyCode      *string   `json:"currencyCode,omitempty"`
	GroupControlTotal *string   `json:"groupControlTotal,omitempty"`
	NumberOfAccounts  *int32    `json:"numberOfAccounts,omitempty"`
	NumberOfRecords   *int32    `json:"numberOfRecords,omitempty"`
	Accounts          []Account `json:"Accounts,omitempty"`
}

Group struct for Group

func NewGroup added in v0.3.0

func NewGroup() *Group

NewGroup instantiates a new Group 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 NewGroupWithDefaults added in v0.3.0

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group 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 (*Group) GetAccounts added in v0.3.0

func (o *Group) GetAccounts() []Account

GetAccounts returns the Accounts field value if set, zero value otherwise.

func (*Group) GetAccountsOk added in v0.3.0

func (o *Group) GetAccountsOk() ([]Account, bool)

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

func (*Group) GetAsOfDate added in v0.3.0

func (o *Group) GetAsOfDate() string

GetAsOfDate returns the AsOfDate field value if set, zero value otherwise.

func (*Group) GetAsOfDateOk added in v0.3.0

func (o *Group) GetAsOfDateOk() (*string, bool)

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

func (*Group) GetCurrencyCode added in v0.3.0

func (o *Group) GetCurrencyCode() string

GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.

func (*Group) GetCurrencyCodeOk added in v0.3.0

func (o *Group) GetCurrencyCodeOk() (*string, bool)

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

func (*Group) GetGroupControlTotal added in v0.3.0

func (o *Group) GetGroupControlTotal() string

GetGroupControlTotal returns the GroupControlTotal field value if set, zero value otherwise.

func (*Group) GetGroupControlTotalOk added in v0.3.0

func (o *Group) GetGroupControlTotalOk() (*string, bool)

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

func (*Group) GetGroupStatus added in v0.3.0

func (o *Group) GetGroupStatus() int32

GetGroupStatus returns the GroupStatus field value if set, zero value otherwise.

func (*Group) GetGroupStatusOk added in v0.3.0

func (o *Group) GetGroupStatusOk() (*int32, bool)

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

func (*Group) GetNumberOfAccounts added in v0.3.0

func (o *Group) GetNumberOfAccounts() int32

GetNumberOfAccounts returns the NumberOfAccounts field value if set, zero value otherwise.

func (*Group) GetNumberOfAccountsOk added in v0.3.0

func (o *Group) GetNumberOfAccountsOk() (*int32, bool)

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

func (*Group) GetNumberOfRecords added in v0.3.0

func (o *Group) GetNumberOfRecords() int32

GetNumberOfRecords returns the NumberOfRecords field value if set, zero value otherwise.

func (*Group) GetNumberOfRecordsOk added in v0.3.0

func (o *Group) GetNumberOfRecordsOk() (*int32, bool)

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

func (*Group) GetOriginator added in v0.3.0

func (o *Group) GetOriginator() string

GetOriginator returns the Originator field value if set, zero value otherwise.

func (*Group) GetOriginatorOk added in v0.3.0

func (o *Group) GetOriginatorOk() (*string, bool)

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

func (*Group) GetReceiver added in v0.3.0

func (o *Group) GetReceiver() string

GetReceiver returns the Receiver field value if set, zero value otherwise.

func (*Group) GetReceiverOk added in v0.3.0

func (o *Group) GetReceiverOk() (*string, bool)

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

func (*Group) HasAccounts added in v0.3.0

func (o *Group) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

func (*Group) HasAsOfDate added in v0.3.0

func (o *Group) HasAsOfDate() bool

HasAsOfDate returns a boolean if a field has been set.

func (*Group) HasCurrencyCode added in v0.3.0

func (o *Group) HasCurrencyCode() bool

HasCurrencyCode returns a boolean if a field has been set.

func (*Group) HasGroupControlTotal added in v0.3.0

func (o *Group) HasGroupControlTotal() bool

HasGroupControlTotal returns a boolean if a field has been set.

func (*Group) HasGroupStatus added in v0.3.0

func (o *Group) HasGroupStatus() bool

HasGroupStatus returns a boolean if a field has been set.

func (*Group) HasNumberOfAccounts added in v0.3.0

func (o *Group) HasNumberOfAccounts() bool

HasNumberOfAccounts returns a boolean if a field has been set.

func (*Group) HasNumberOfRecords added in v0.3.0

func (o *Group) HasNumberOfRecords() bool

HasNumberOfRecords returns a boolean if a field has been set.

func (*Group) HasOriginator added in v0.3.0

func (o *Group) HasOriginator() bool

HasOriginator returns a boolean if a field has been set.

func (*Group) HasReceiver added in v0.3.0

func (o *Group) HasReceiver() bool

HasReceiver returns a boolean if a field has been set.

func (Group) MarshalJSON added in v0.3.0

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

func (*Group) SetAccounts added in v0.3.0

func (o *Group) SetAccounts(v []Account)

SetAccounts gets a reference to the given []Account and assigns it to the Accounts field.

func (*Group) SetAsOfDate added in v0.3.0

func (o *Group) SetAsOfDate(v string)

SetAsOfDate gets a reference to the given string and assigns it to the AsOfDate field.

func (*Group) SetCurrencyCode added in v0.3.0

func (o *Group) SetCurrencyCode(v string)

SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.

func (*Group) SetGroupControlTotal added in v0.3.0

func (o *Group) SetGroupControlTotal(v string)

SetGroupControlTotal gets a reference to the given string and assigns it to the GroupControlTotal field.

func (*Group) SetGroupStatus added in v0.3.0

func (o *Group) SetGroupStatus(v int32)

SetGroupStatus gets a reference to the given int32 and assigns it to the GroupStatus field.

func (*Group) SetNumberOfAccounts added in v0.3.0

func (o *Group) SetNumberOfAccounts(v int32)

SetNumberOfAccounts gets a reference to the given int32 and assigns it to the NumberOfAccounts field.

func (*Group) SetNumberOfRecords added in v0.3.0

func (o *Group) SetNumberOfRecords(v int32)

SetNumberOfRecords gets a reference to the given int32 and assigns it to the NumberOfRecords field.

func (*Group) SetOriginator added in v0.3.0

func (o *Group) SetOriginator(v string)

SetOriginator gets a reference to the given string and assigns it to the Originator field.

func (*Group) SetReceiver added in v0.3.0

func (o *Group) SetReceiver(v string)

SetReceiver gets a reference to the given string and assigns it to the Receiver field.

func (Group) ToMap added in v0.3.0

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

type MappedNullable added in v0.3.0

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

type NullableAccount added in v0.3.0

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

func NewNullableAccount added in v0.3.0

func NewNullableAccount(val *Account) *NullableAccount

func (NullableAccount) Get added in v0.3.0

func (v NullableAccount) Get() *Account

func (NullableAccount) IsSet added in v0.3.0

func (v NullableAccount) IsSet() bool

func (NullableAccount) MarshalJSON added in v0.3.0

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

func (*NullableAccount) Set added in v0.3.0

func (v *NullableAccount) Set(val *Account)

func (*NullableAccount) UnmarshalJSON added in v0.3.0

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

func (*NullableAccount) Unset added in v0.3.0

func (v *NullableAccount) Unset()

type NullableAccountSummary added in v0.3.0

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

func NewNullableAccountSummary added in v0.3.0

func NewNullableAccountSummary(val *AccountSummary) *NullableAccountSummary

func (NullableAccountSummary) Get added in v0.3.0

func (NullableAccountSummary) IsSet added in v0.3.0

func (v NullableAccountSummary) IsSet() bool

func (NullableAccountSummary) MarshalJSON added in v0.3.0

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

func (*NullableAccountSummary) Set added in v0.3.0

func (*NullableAccountSummary) UnmarshalJSON added in v0.3.0

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

func (*NullableAccountSummary) Unset added in v0.3.0

func (v *NullableAccountSummary) 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 NullableDetail added in v0.3.0

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

func NewNullableDetail added in v0.3.0

func NewNullableDetail(val *Detail) *NullableDetail

func (NullableDetail) Get added in v0.3.0

func (v NullableDetail) Get() *Detail

func (NullableDetail) IsSet added in v0.3.0

func (v NullableDetail) IsSet() bool

func (NullableDetail) MarshalJSON added in v0.3.0

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

func (*NullableDetail) Set added in v0.3.0

func (v *NullableDetail) Set(val *Detail)

func (*NullableDetail) UnmarshalJSON added in v0.3.0

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

func (*NullableDetail) Unset added in v0.3.0

func (v *NullableDetail) Unset()

type NullableDistribution added in v0.3.0

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

func NewNullableDistribution added in v0.3.0

func NewNullableDistribution(val *Distribution) *NullableDistribution

func (NullableDistribution) Get added in v0.3.0

func (NullableDistribution) IsSet added in v0.3.0

func (v NullableDistribution) IsSet() bool

func (NullableDistribution) MarshalJSON added in v0.3.0

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

func (*NullableDistribution) Set added in v0.3.0

func (v *NullableDistribution) Set(val *Distribution)

func (*NullableDistribution) UnmarshalJSON added in v0.3.0

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

func (*NullableDistribution) Unset added in v0.3.0

func (v *NullableDistribution) Unset()

type NullableFile added in v0.3.0

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

func NewNullableFile added in v0.3.0

func NewNullableFile(val *File) *NullableFile

func (NullableFile) Get added in v0.3.0

func (v NullableFile) Get() *File

func (NullableFile) IsSet added in v0.3.0

func (v NullableFile) IsSet() bool

func (NullableFile) MarshalJSON added in v0.3.0

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

func (*NullableFile) Set added in v0.3.0

func (v *NullableFile) Set(val *File)

func (*NullableFile) UnmarshalJSON added in v0.3.0

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

func (*NullableFile) Unset added in v0.3.0

func (v *NullableFile) 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 NullableFundsType added in v0.3.0

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

func NewNullableFundsType added in v0.3.0

func NewNullableFundsType(val *FundsType) *NullableFundsType

func (NullableFundsType) Get added in v0.3.0

func (v NullableFundsType) Get() *FundsType

func (NullableFundsType) IsSet added in v0.3.0

func (v NullableFundsType) IsSet() bool

func (NullableFundsType) MarshalJSON added in v0.3.0

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

func (*NullableFundsType) Set added in v0.3.0

func (v *NullableFundsType) Set(val *FundsType)

func (*NullableFundsType) UnmarshalJSON added in v0.3.0

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

func (*NullableFundsType) Unset added in v0.3.0

func (v *NullableFundsType) Unset()

type NullableGroup added in v0.3.0

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

func NewNullableGroup added in v0.3.0

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get added in v0.3.0

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet added in v0.3.0

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON added in v0.3.0

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

func (*NullableGroup) Set added in v0.3.0

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON added in v0.3.0

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

func (*NullableGroup) Unset added in v0.3.0

func (v *NullableGroup) 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 NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

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