Documentation ¶
Index ¶
- Variables
- type ApiClientMock
- func (m *ApiClientMock) Delete(path string, authorization *configuration.SdkAuthorization, ...) error
- func (m *ApiClientMock) Get(path string, authorization *configuration.SdkAuthorization, ...) error
- func (m *ApiClientMock) Patch(path string, authorization *configuration.SdkAuthorization, ...) error
- func (m *ApiClientMock) Post(path string, authorization *configuration.SdkAuthorization, ...) error
- func (m *ApiClientMock) Put(path string, authorization *configuration.SdkAuthorization, ...) error
- func (m *ApiClientMock) Upload(path string, authorization *configuration.SdkAuthorization, ...) error
- type CredentialsMock
- type EnvironmentMock
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HttpMetadataStatusOk = common.HttpMetadata{ Status: "200 OK", StatusCode: http.StatusOK, } HttpMetadataStatusCreated = common.HttpMetadata{ Status: "201 Created", StatusCode: http.StatusCreated, } HttpMetadataStatusAccepted = common.HttpMetadata{ Status: "202 Accepted", StatusCode: http.StatusAccepted, } HttpMetadataStatusNoContent = common.HttpMetadata{ Status: "204 No Content", StatusCode: http.StatusNoContent, } )
Functions ¶
This section is empty.
Types ¶
type ApiClientMock ¶
func (*ApiClientMock) Delete ¶
func (m *ApiClientMock) Delete(path string, authorization *configuration.SdkAuthorization, responseMapping interface{}) error
func (*ApiClientMock) Get ¶
func (m *ApiClientMock) Get(path string, authorization *configuration.SdkAuthorization, responseMapping interface{}) error
func (*ApiClientMock) Patch ¶
func (m *ApiClientMock) Patch(path string, authorization *configuration.SdkAuthorization, request interface{}, responseMapping interface{}) error
func (*ApiClientMock) Post ¶
func (m *ApiClientMock) Post(path string, authorization *configuration.SdkAuthorization, request interface{}, responseMapping interface{}, idempotencyKey *string) error
func (*ApiClientMock) Put ¶
func (m *ApiClientMock) Put(path string, authorization *configuration.SdkAuthorization, request interface{}, responseMapping interface{}, idempotencyKey *string) error
func (*ApiClientMock) Upload ¶
func (m *ApiClientMock) Upload(path string, authorization *configuration.SdkAuthorization, request *common.FileUploadRequest, responseMapping interface{}) error
type CredentialsMock ¶
func (*CredentialsMock) GetAuthorization ¶
func (m *CredentialsMock) GetAuthorization(authorizationType configuration.AuthorizationType) (*configuration.SdkAuthorization, error)
type EnvironmentMock ¶
func (*EnvironmentMock) AuthorizationUri ¶
func (m *EnvironmentMock) AuthorizationUri() string
func (*EnvironmentMock) BalancesUri ¶
func (m *EnvironmentMock) BalancesUri() string
func (*EnvironmentMock) BaseUri ¶
func (m *EnvironmentMock) BaseUri() string
func (*EnvironmentMock) FilesUri ¶
func (m *EnvironmentMock) FilesUri() string
func (*EnvironmentMock) IsSandbox ¶
func (m *EnvironmentMock) IsSandbox() bool
func (*EnvironmentMock) TransfersUri ¶
func (m *EnvironmentMock) TransfersUri() string
Click to show internal directories.
Click to hide internal directories.