Documentation
¶
Index ¶
- func NewHttpClient(config *ClientConfig) *http.Client
- type AddHeaderTransport
- type ClientConfig
- type F3
- type TestDefaults
- func (*TestDefaults) GetBool(objectName, attributeName string) bool
- func (*TestDefaults) GetBoolPtr(objectName, attributeName string) *bool
- func (*TestDefaults) GetInt32(objectName, attributeName string) int32
- func (*TestDefaults) GetInt64(objectName, attributeName string) int64
- func (*TestDefaults) GetInt64Ptr(objectName, attributeName string) *int64
- func (*TestDefaults) GetStrfmtDate(objectName, attributeName string) strfmt.Date
- func (*TestDefaults) GetStrfmtDatePtr(objectName, attributeName string) *strfmt.Date
- func (*TestDefaults) GetStrfmtDateTime(objectName, attributeName string) strfmt.DateTime
- func (*TestDefaults) GetStrfmtDateTimePtr(objectName, attributeName string) *strfmt.DateTime
- func (*TestDefaults) GetStrfmtURI(objectName, attributeName string) strfmt.URI
- func (*TestDefaults) GetStrfmtURIPtr(objectName, attributeName string) *strfmt.URI
- func (*TestDefaults) GetStrfmtUUID(objectName, attributeName string) strfmt.UUID
- func (d *TestDefaults) GetStrfmtUUIDPtr(objectName, attributeName string) *strfmt.UUID
- func (*TestDefaults) GetString(objectName, attributeName string) string
- func (*TestDefaults) GetStringArray(objectName, attributeName string) []string
- func (*TestDefaults) GetStringPtr(objectName, attributeName string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpClient ¶
func NewHttpClient(config *ClientConfig) *http.Client
Types ¶
type AddHeaderTransport ¶
type AddHeaderTransport struct {
// contains filtered or unexported fields
}
type ClientConfig ¶
type ClientConfig struct {
ClientId string
ClientSecret string
HostUrl *url.URL
InitialToken string
UnderlyingTransport http.RoundTripper
// contains filtered or unexported fields
}
func NewClientConfig ¶
func NewClientConfig(clientId, clientSecret string, hostUrl *url.URL) *ClientConfig
func (*ClientConfig) WithInitialToken ¶
func (c *ClientConfig) WithInitialToken(token string) *ClientConfig
func (*ClientConfig) WithUnderlyingTransport ¶
func (c *ClientConfig) WithUnderlyingTransport(underlyingTransport http.RoundTripper) *ClientConfig
type TestDefaults ¶
func NewTestDefaults ¶
func NewTestDefaults() *TestDefaults
func (*TestDefaults) GetBool ¶
func (*TestDefaults) GetBool(objectName, attributeName string) bool
func (*TestDefaults) GetBoolPtr ¶
func (*TestDefaults) GetBoolPtr(objectName, attributeName string) *bool
func (*TestDefaults) GetInt32 ¶
func (*TestDefaults) GetInt32(objectName, attributeName string) int32
func (*TestDefaults) GetInt64 ¶
func (*TestDefaults) GetInt64(objectName, attributeName string) int64
func (*TestDefaults) GetInt64Ptr ¶
func (*TestDefaults) GetInt64Ptr(objectName, attributeName string) *int64
func (*TestDefaults) GetStrfmtDate ¶
func (*TestDefaults) GetStrfmtDate(objectName, attributeName string) strfmt.Date
func (*TestDefaults) GetStrfmtDatePtr ¶
func (*TestDefaults) GetStrfmtDatePtr(objectName, attributeName string) *strfmt.Date
func (*TestDefaults) GetStrfmtDateTime ¶
func (*TestDefaults) GetStrfmtDateTime(objectName, attributeName string) strfmt.DateTime
func (*TestDefaults) GetStrfmtDateTimePtr ¶
func (*TestDefaults) GetStrfmtDateTimePtr(objectName, attributeName string) *strfmt.DateTime
func (*TestDefaults) GetStrfmtURI ¶
func (*TestDefaults) GetStrfmtURI(objectName, attributeName string) strfmt.URI
func (*TestDefaults) GetStrfmtURIPtr ¶
func (*TestDefaults) GetStrfmtURIPtr(objectName, attributeName string) *strfmt.URI
func (*TestDefaults) GetStrfmtUUID ¶
func (*TestDefaults) GetStrfmtUUID(objectName, attributeName string) strfmt.UUID
func (*TestDefaults) GetStrfmtUUIDPtr ¶
func (d *TestDefaults) GetStrfmtUUIDPtr(objectName, attributeName string) *strfmt.UUID
func (*TestDefaults) GetString ¶
func (*TestDefaults) GetString(objectName, attributeName string) string
func (*TestDefaults) GetStringArray ¶
func (*TestDefaults) GetStringArray(objectName, attributeName string) []string
func (*TestDefaults) GetStringPtr ¶
func (*TestDefaults) GetStringPtr(objectName, attributeName string) *string
Click to show internal directories.
Click to hide internal directories.