Versions in this module Expand all Collapse all v1 v1.18.2 Apr 9, 2023 Changes in this version + func IsNil(i interface{}) bool v1.18.1 Apr 8, 2023 Changes in this version + var ContextOAuth2 = contextKey("token") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + 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 struct + DefaultApi *DefaultApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiConfigurePostRequest struct + ApiService *DefaultApiService + func (r ApiConfigurePostRequest) ECRControl(eCRControl ECRControl) ApiConfigurePostRequest + func (r ApiConfigurePostRequest) Execute() (*ECRData, *http.Response, error) + type ApiQueryPostRequest struct + ApiService *DefaultApiService + func (r ApiQueryPostRequest) ECRControl(eCRControl ECRControl) ApiQueryPostRequest + func (r ApiQueryPostRequest) Execute() (*ECRData, *http.Response, error) + type BasicAuth struct + Password string + UserName string + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type DefaultApiService service + func (a *DefaultApiService) ConfigurePost(ctx context.Context) ApiConfigurePostRequest + func (a *DefaultApiService) ConfigurePostExecute(r ApiConfigurePostRequest) (*ECRData, *http.Response, error) + func (a *DefaultApiService) QueryPost(ctx context.Context) ApiQueryPostRequest + func (a *DefaultApiService) QueryPostExecute(r ApiQueryPostRequest) (*ECRData, *http.Response, error) + type ECRControl struct + Interface *interface{} + func InterfaceAsECRControl(v *interface{}) ECRControl + func (dst *ECRControl) UnmarshalJSON(data []byte) error + func (obj *ECRControl) GetActualInstance() interface{} + func (src ECRControl) MarshalJSON() ([]byte, error) + type ECRData struct + AllowedPlmnIds []PlmnId + EcrDataWbs []PlmnEcRestrictionDataWb + RestrictedPlmnIds []PlmnId + SupportedFeatures string + VisitedPlmnId *PlmnId + func NewECRData(supportedFeatures string) *ECRData + func NewECRDataWithDefaults() *ECRData + func (o *ECRData) GetAllowedPlmnIds() []PlmnId + func (o *ECRData) GetAllowedPlmnIdsOk() ([]PlmnId, bool) + func (o *ECRData) GetEcrDataWbs() []PlmnEcRestrictionDataWb + func (o *ECRData) GetEcrDataWbsOk() ([]PlmnEcRestrictionDataWb, bool) + func (o *ECRData) GetRestrictedPlmnIds() []PlmnId + func (o *ECRData) GetRestrictedPlmnIdsOk() ([]PlmnId, bool) + func (o *ECRData) GetSupportedFeatures() string + func (o *ECRData) GetSupportedFeaturesOk() (*string, bool) + func (o *ECRData) GetVisitedPlmnId() PlmnId + func (o *ECRData) GetVisitedPlmnIdOk() (*PlmnId, bool) + func (o *ECRData) HasAllowedPlmnIds() bool + func (o *ECRData) HasEcrDataWbs() bool + func (o *ECRData) HasRestrictedPlmnIds() bool + func (o *ECRData) HasVisitedPlmnId() bool + func (o *ECRData) SetAllowedPlmnIds(v []PlmnId) + func (o *ECRData) SetEcrDataWbs(v []PlmnEcRestrictionDataWb) + func (o *ECRData) SetRestrictedPlmnIds(v []PlmnId) + func (o *ECRData) SetSupportedFeatures(v string) + func (o *ECRData) SetVisitedPlmnId(v PlmnId) + func (o ECRData) MarshalJSON() ([]byte, error) + func (o ECRData) ToMap() (map[string]interface{}, error) + type EcRestrictionDataWb struct + Interface *interface{} + func (dst *EcRestrictionDataWb) UnmarshalJSON(data []byte) error + func (src *EcRestrictionDataWb) MarshalJSON() ([]byte, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type InvalidParam struct + Param string + Reason *string + func NewInvalidParam(param string) *InvalidParam + func NewInvalidParamWithDefaults() *InvalidParam + func (o *InvalidParam) GetParam() string + func (o *InvalidParam) GetParamOk() (*string, bool) + func (o *InvalidParam) GetReason() string + func (o *InvalidParam) GetReasonOk() (*string, bool) + func (o *InvalidParam) HasReason() bool + func (o *InvalidParam) SetParam(v string) + func (o *InvalidParam) SetReason(v string) + func (o InvalidParam) MarshalJSON() ([]byte, error) + func (o InvalidParam) ToMap() (map[string]interface{}, error) + type MappedNullable interface + ToMap func() (map[string]interface{}, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableECRControl struct + func NewNullableECRControl(val *ECRControl) *NullableECRControl + func (v *NullableECRControl) Set(val *ECRControl) + func (v *NullableECRControl) UnmarshalJSON(src []byte) error + func (v *NullableECRControl) Unset() + func (v NullableECRControl) Get() *ECRControl + func (v NullableECRControl) IsSet() bool + func (v NullableECRControl) MarshalJSON() ([]byte, error) + type NullableECRData struct + func NewNullableECRData(val *ECRData) *NullableECRData + func (v *NullableECRData) Set(val *ECRData) + func (v *NullableECRData) UnmarshalJSON(src []byte) error + func (v *NullableECRData) Unset() + func (v NullableECRData) Get() *ECRData + func (v NullableECRData) IsSet() bool + func (v NullableECRData) MarshalJSON() ([]byte, error) + type NullableEcRestrictionDataWb struct + func NewNullableEcRestrictionDataWb(val *EcRestrictionDataWb) *NullableEcRestrictionDataWb + func (v *NullableEcRestrictionDataWb) Set(val *EcRestrictionDataWb) + func (v *NullableEcRestrictionDataWb) UnmarshalJSON(src []byte) error + func (v *NullableEcRestrictionDataWb) Unset() + func (v NullableEcRestrictionDataWb) Get() *EcRestrictionDataWb + func (v NullableEcRestrictionDataWb) IsSet() bool + func (v NullableEcRestrictionDataWb) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableInvalidParam struct + func NewNullableInvalidParam(val *InvalidParam) *NullableInvalidParam + func (v *NullableInvalidParam) Set(val *InvalidParam) + func (v *NullableInvalidParam) UnmarshalJSON(src []byte) error + func (v *NullableInvalidParam) Unset() + func (v NullableInvalidParam) Get() *InvalidParam + func (v NullableInvalidParam) IsSet() bool + func (v NullableInvalidParam) MarshalJSON() ([]byte, error) + type NullablePlmnEcRestrictionDataWb struct + func NewNullablePlmnEcRestrictionDataWb(val *PlmnEcRestrictionDataWb) *NullablePlmnEcRestrictionDataWb + func (v *NullablePlmnEcRestrictionDataWb) Set(val *PlmnEcRestrictionDataWb) + func (v *NullablePlmnEcRestrictionDataWb) UnmarshalJSON(src []byte) error + func (v *NullablePlmnEcRestrictionDataWb) Unset() + func (v NullablePlmnEcRestrictionDataWb) Get() *PlmnEcRestrictionDataWb + func (v NullablePlmnEcRestrictionDataWb) IsSet() bool + func (v NullablePlmnEcRestrictionDataWb) MarshalJSON() ([]byte, error) + type NullablePlmnId struct + func NewNullablePlmnId(val *PlmnId) *NullablePlmnId + func (v *NullablePlmnId) Set(val *PlmnId) + func (v *NullablePlmnId) UnmarshalJSON(src []byte) error + func (v *NullablePlmnId) Unset() + func (v NullablePlmnId) Get() *PlmnId + func (v NullablePlmnId) IsSet() bool + func (v NullablePlmnId) MarshalJSON() ([]byte, error) + type NullableProblemDetails struct + func NewNullableProblemDetails(val *ProblemDetails) *NullableProblemDetails + func (v *NullableProblemDetails) Set(val *ProblemDetails) + func (v *NullableProblemDetails) UnmarshalJSON(src []byte) error + func (v *NullableProblemDetails) Unset() + func (v NullableProblemDetails) Get() *ProblemDetails + func (v NullableProblemDetails) IsSet() bool + func (v NullableProblemDetails) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type PlmnEcRestrictionDataWb struct + PlmnEcrDataWb *EcRestrictionDataWb + PlmnId PlmnId + func NewPlmnEcRestrictionDataWb(plmnId PlmnId) *PlmnEcRestrictionDataWb + func NewPlmnEcRestrictionDataWbWithDefaults() *PlmnEcRestrictionDataWb + func (o *PlmnEcRestrictionDataWb) GetPlmnEcrDataWb() EcRestrictionDataWb + func (o *PlmnEcRestrictionDataWb) GetPlmnEcrDataWbOk() (*EcRestrictionDataWb, bool) + func (o *PlmnEcRestrictionDataWb) GetPlmnId() PlmnId + func (o *PlmnEcRestrictionDataWb) GetPlmnIdOk() (*PlmnId, bool) + func (o *PlmnEcRestrictionDataWb) HasPlmnEcrDataWb() bool + func (o *PlmnEcRestrictionDataWb) SetPlmnEcrDataWb(v EcRestrictionDataWb) + func (o *PlmnEcRestrictionDataWb) SetPlmnId(v PlmnId) + func (o PlmnEcRestrictionDataWb) MarshalJSON() ([]byte, error) + func (o PlmnEcRestrictionDataWb) ToMap() (map[string]interface{}, error) + type PlmnId struct + Mcc string + Mnc string + func NewPlmnId(mcc string, mnc string) *PlmnId + func NewPlmnIdWithDefaults() *PlmnId + func (o *PlmnId) GetMcc() string + func (o *PlmnId) GetMccOk() (*string, bool) + func (o *PlmnId) GetMnc() string + func (o *PlmnId) GetMncOk() (*string, bool) + func (o *PlmnId) SetMcc(v string) + func (o *PlmnId) SetMnc(v string) + func (o PlmnId) MarshalJSON() ([]byte, error) + func (o PlmnId) ToMap() (map[string]interface{}, error) + type ProblemDetails struct + Cause *string + Detail *string + Instance *string + InvalidParams []InvalidParam + Status *int32 + SupportedFeatures *string + Title *string + Type *string + func NewProblemDetails() *ProblemDetails + func NewProblemDetailsWithDefaults() *ProblemDetails + func (o *ProblemDetails) GetCause() string + func (o *ProblemDetails) GetCauseOk() (*string, bool) + func (o *ProblemDetails) GetDetail() string + func (o *ProblemDetails) GetDetailOk() (*string, bool) + func (o *ProblemDetails) GetInstance() string + func (o *ProblemDetails) GetInstanceOk() (*string, bool) + func (o *ProblemDetails) GetInvalidParams() []InvalidParam + func (o *ProblemDetails) GetInvalidParamsOk() ([]InvalidParam, bool) + func (o *ProblemDetails) GetStatus() int32 + func (o *ProblemDetails) GetStatusOk() (*int32, bool) + func (o *ProblemDetails) GetSupportedFeatures() string + func (o *ProblemDetails) GetSupportedFeaturesOk() (*string, bool) + func (o *ProblemDetails) GetTitle() string + func (o *ProblemDetails) GetTitleOk() (*string, bool) + func (o *ProblemDetails) GetType() string + func (o *ProblemDetails) GetTypeOk() (*string, bool) + func (o *ProblemDetails) HasCause() bool + func (o *ProblemDetails) HasDetail() bool + func (o *ProblemDetails) HasInstance() bool + func (o *ProblemDetails) HasInvalidParams() bool + func (o *ProblemDetails) HasStatus() bool + func (o *ProblemDetails) HasSupportedFeatures() bool + func (o *ProblemDetails) HasTitle() bool + func (o *ProblemDetails) HasType() bool + func (o *ProblemDetails) SetCause(v string) + func (o *ProblemDetails) SetDetail(v string) + func (o *ProblemDetails) SetInstance(v string) + func (o *ProblemDetails) SetInvalidParams(v []InvalidParam) + func (o *ProblemDetails) SetStatus(v int32) + func (o *ProblemDetails) SetSupportedFeatures(v string) + func (o *ProblemDetails) SetTitle(v string) + func (o *ProblemDetails) SetType(v string) + func (o ProblemDetails) MarshalJSON() ([]byte, error) + func (o ProblemDetails) ToMap() (map[string]interface{}, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string