Documentation
¶
Index ¶
- type APIClient
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) BasePath() string
- func (c *Configuration) DefaultHeader() map[string]string
- func (c *Configuration) HTTPClient() *http.Client
- func (c *Configuration) Host() string
- func (c *Configuration) Metrics() openapi.RequestMetricsHook
- func (c *Configuration) SetBasePath(apiRoot string)
- func (c *Configuration) SetHTTPClient(client *http.Client)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type SendMOSMSMessageAndTheDeliveryReportApiService
- type SendSMSError
- type SendSMSRequest
- type SendSMSResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// API Services
SendMOSMSMessageAndTheDeliveryReportApi *SendMOSMSMessageAndTheDeliveryReportApiService
// contains filtered or unexported fields
}
APIClient manages communication with the Nnef_SMService API v1.0.0 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.
type Configuration ¶
type Configuration struct {
MetricsHook openapi.RequestMetricsHook
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
func (*Configuration) BasePath ¶
func (c *Configuration) BasePath() string
func (*Configuration) DefaultHeader ¶
func (c *Configuration) DefaultHeader() map[string]string
func (*Configuration) HTTPClient ¶
func (c *Configuration) HTTPClient() *http.Client
func (*Configuration) Host ¶
func (c *Configuration) Host() string
func (*Configuration) Metrics ¶ added in v1.2.1
func (c *Configuration) Metrics() openapi.RequestMetricsHook
func (*Configuration) SetBasePath ¶
func (c *Configuration) SetBasePath(apiRoot string)
func (*Configuration) SetHTTPClient ¶
func (c *Configuration) SetHTTPClient(client *http.Client)
func (*Configuration) SetHost ¶
func (c *Configuration) SetHost(host string)
func (*Configuration) SetMetrics ¶ added in v1.2.1
func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)
func (*Configuration) SetUserAgent ¶
func (c *Configuration) SetUserAgent(userAgent string)
func (*Configuration) UserAgent ¶
func (c *Configuration) UserAgent() string
type SendMOSMSMessageAndTheDeliveryReportApiService ¶
type SendMOSMSMessageAndTheDeliveryReportApiService service
func (*SendMOSMSMessageAndTheDeliveryReportApiService) SendSMS ¶
func (a *SendMOSMSMessageAndTheDeliveryReportApiService) SendSMS(ctx context.Context, request *SendSMSRequest) (*SendSMSResponse, error)
type SendSMSError ¶
type SendSMSError struct {
ProblemDetails models.ProblemDetails
}
type SendSMSRequest ¶
type SendSMSRequest struct {
Supi *string
SendSmsRequest *models.SendSmsRequest
}
SendSMSRequest
func (*SendSMSRequest) SetSendSmsRequest ¶
func (r *SendSMSRequest) SetSendSmsRequest(SendSmsRequest models.SendSmsRequest)
func (*SendSMSRequest) SetSupi ¶
func (r *SendSMSRequest) SetSupi(Supi string)
type SendSMSResponse ¶
type SendSMSResponse struct {
SendSmsResponse200 models.SendSmsResponse200
}
Click to show internal directories.
Click to hide internal directories.