Versions in this module Expand all Collapse all v1 v1.0.0 Jul 18, 2026 Changes in this version + var ContextAPIKeys = contextKey("apiKeys") + var ContextAccessToken = contextKey("accesstoken") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + var JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) + var XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) + func CacheExpires(r *http.Response) time.Time + func IsNil(i interface{}) bool + 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 + DeveloperAuthAPI *DeveloperAuthAPIService + SIMSwapIntelligenceAPI *SIMSwapIntelligenceAPIService + 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 ApiAuthControllerLoginRequest struct + ApiService *DeveloperAuthAPIService + func (r ApiAuthControllerLoginRequest) Email(email string) ApiAuthControllerLoginRequest + func (r ApiAuthControllerLoginRequest) Execute() (*http.Response, error) + func (r ApiAuthControllerLoginRequest) Password(password string) ApiAuthControllerLoginRequest + type ApiAuthControllerLogoutRequest struct + ApiService *DeveloperAuthAPIService + func (r ApiAuthControllerLogoutRequest) Execute() (*http.Response, error) + type ApiAuthControllerSignupRequest struct + ApiService *DeveloperAuthAPIService + func (r ApiAuthControllerSignupRequest) Company(company string) ApiAuthControllerSignupRequest + func (r ApiAuthControllerSignupRequest) ConfirmPassword(confirmPassword string) ApiAuthControllerSignupRequest + func (r ApiAuthControllerSignupRequest) Email(email string) ApiAuthControllerSignupRequest + func (r ApiAuthControllerSignupRequest) Execute() (*http.Response, error) + func (r ApiAuthControllerSignupRequest) FullName(fullName string) ApiAuthControllerSignupRequest + func (r ApiAuthControllerSignupRequest) Password(password string) ApiAuthControllerSignupRequest + type ApiSimSwapControllerCheckSimSwapRequest struct + ApiService *SIMSwapIntelligenceAPIService + func (r ApiSimSwapControllerCheckSimSwapRequest) CheckSimSwapDto(checkSimSwapDto CheckSimSwapDto) ApiSimSwapControllerCheckSimSwapRequest + func (r ApiSimSwapControllerCheckSimSwapRequest) Execute() (*SimSwapResponseDto, *http.Response, error) + func (r ApiSimSwapControllerCheckSimSwapRequest) XAPIKey(xAPIKey string) ApiSimSwapControllerCheckSimSwapRequest + type BasicAuth struct + Password string + UserName string + type CheckSimSwapDto struct + MaxAgeHours *float32 + PhoneNumber string + func NewCheckSimSwapDto(phoneNumber string) *CheckSimSwapDto + func NewCheckSimSwapDtoWithDefaults() *CheckSimSwapDto + func (o *CheckSimSwapDto) GetMaxAgeHours() float32 + func (o *CheckSimSwapDto) GetMaxAgeHoursOk() (*float32, bool) + func (o *CheckSimSwapDto) GetPhoneNumber() string + func (o *CheckSimSwapDto) GetPhoneNumberOk() (*string, bool) + func (o *CheckSimSwapDto) HasMaxAgeHours() bool + func (o *CheckSimSwapDto) SetMaxAgeHours(v float32) + func (o *CheckSimSwapDto) SetPhoneNumber(v string) + func (o *CheckSimSwapDto) UnmarshalJSON(data []byte) (err error) + func (o CheckSimSwapDto) MarshalJSON() ([]byte, error) + func (o CheckSimSwapDto) ToMap() (map[string]interface{}, error) + 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 DeveloperAuthAPIService service + func (a *DeveloperAuthAPIService) AuthControllerLogin(ctx context.Context) ApiAuthControllerLoginRequest + func (a *DeveloperAuthAPIService) AuthControllerLoginExecute(r ApiAuthControllerLoginRequest) (*http.Response, error) + func (a *DeveloperAuthAPIService) AuthControllerLogout(ctx context.Context) ApiAuthControllerLogoutRequest + func (a *DeveloperAuthAPIService) AuthControllerLogoutExecute(r ApiAuthControllerLogoutRequest) (*http.Response, error) + func (a *DeveloperAuthAPIService) AuthControllerSignup(ctx context.Context) ApiAuthControllerSignupRequest + func (a *DeveloperAuthAPIService) AuthControllerSignupExecute(r ApiAuthControllerSignupRequest) (*http.Response, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type LoginDto struct + Email string + Password string + func NewLoginDto(email string, password string) *LoginDto + func NewLoginDtoWithDefaults() *LoginDto + func (o *LoginDto) GetEmail() string + func (o *LoginDto) GetEmailOk() (*string, bool) + func (o *LoginDto) GetPassword() string + func (o *LoginDto) GetPasswordOk() (*string, bool) + func (o *LoginDto) SetEmail(v string) + func (o *LoginDto) SetPassword(v string) + func (o *LoginDto) UnmarshalJSON(data []byte) (err error) + func (o LoginDto) MarshalJSON() ([]byte, error) + func (o LoginDto) 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 NullableCheckSimSwapDto struct + func NewNullableCheckSimSwapDto(val *CheckSimSwapDto) *NullableCheckSimSwapDto + func (v *NullableCheckSimSwapDto) Set(val *CheckSimSwapDto) + func (v *NullableCheckSimSwapDto) UnmarshalJSON(src []byte) error + func (v *NullableCheckSimSwapDto) Unset() + func (v NullableCheckSimSwapDto) Get() *CheckSimSwapDto + func (v NullableCheckSimSwapDto) IsSet() bool + func (v NullableCheckSimSwapDto) 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 NullableLoginDto struct + func NewNullableLoginDto(val *LoginDto) *NullableLoginDto + func (v *NullableLoginDto) Set(val *LoginDto) + func (v *NullableLoginDto) UnmarshalJSON(src []byte) error + func (v *NullableLoginDto) Unset() + func (v NullableLoginDto) Get() *LoginDto + func (v NullableLoginDto) IsSet() bool + func (v NullableLoginDto) MarshalJSON() ([]byte, error) + type NullableSignupDto struct + func NewNullableSignupDto(val *SignupDto) *NullableSignupDto + func (v *NullableSignupDto) Set(val *SignupDto) + func (v *NullableSignupDto) UnmarshalJSON(src []byte) error + func (v *NullableSignupDto) Unset() + func (v NullableSignupDto) Get() *SignupDto + func (v NullableSignupDto) IsSet() bool + func (v NullableSignupDto) MarshalJSON() ([]byte, error) + type NullableSimSwapResponseDto struct + func NewNullableSimSwapResponseDto(val *SimSwapResponseDto) *NullableSimSwapResponseDto + func (v *NullableSimSwapResponseDto) Set(val *SimSwapResponseDto) + func (v *NullableSimSwapResponseDto) UnmarshalJSON(src []byte) error + func (v *NullableSimSwapResponseDto) Unset() + func (v NullableSimSwapResponseDto) Get() *SimSwapResponseDto + func (v NullableSimSwapResponseDto) IsSet() bool + func (v NullableSimSwapResponseDto) 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 SIMSwapIntelligenceAPIService service + func (a *SIMSwapIntelligenceAPIService) SimSwapControllerCheckSimSwap(ctx context.Context) ApiSimSwapControllerCheckSimSwapRequest + func (a *SIMSwapIntelligenceAPIService) SimSwapControllerCheckSimSwapExecute(r ApiSimSwapControllerCheckSimSwapRequest) (*SimSwapResponseDto, *http.Response, 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 + type SignupDto struct + Company *string + ConfirmPassword string + Email string + FullName string + Password string + func NewSignupDto(fullName string, email string, password string, confirmPassword string) *SignupDto + func NewSignupDtoWithDefaults() *SignupDto + func (o *SignupDto) GetCompany() string + func (o *SignupDto) GetCompanyOk() (*string, bool) + func (o *SignupDto) GetConfirmPassword() string + func (o *SignupDto) GetConfirmPasswordOk() (*string, bool) + func (o *SignupDto) GetEmail() string + func (o *SignupDto) GetEmailOk() (*string, bool) + func (o *SignupDto) GetFullName() string + func (o *SignupDto) GetFullNameOk() (*string, bool) + func (o *SignupDto) GetPassword() string + func (o *SignupDto) GetPasswordOk() (*string, bool) + func (o *SignupDto) HasCompany() bool + func (o *SignupDto) SetCompany(v string) + func (o *SignupDto) SetConfirmPassword(v string) + func (o *SignupDto) SetEmail(v string) + func (o *SignupDto) SetFullName(v string) + func (o *SignupDto) SetPassword(v string) + func (o *SignupDto) UnmarshalJSON(data []byte) (err error) + func (o SignupDto) MarshalJSON() ([]byte, error) + func (o SignupDto) ToMap() (map[string]interface{}, error) + type SimSwapResponseDto struct + LastSwappedAt *time.Time + Operator string + PhoneNumber string + Provider string + Swapped bool + func NewSimSwapResponseDto(phoneNumber string, swapped bool, provider string, operator string) *SimSwapResponseDto + func NewSimSwapResponseDtoWithDefaults() *SimSwapResponseDto + func (o *SimSwapResponseDto) GetLastSwappedAt() time.Time + func (o *SimSwapResponseDto) GetLastSwappedAtOk() (*time.Time, bool) + func (o *SimSwapResponseDto) GetOperator() string + func (o *SimSwapResponseDto) GetOperatorOk() (*string, bool) + func (o *SimSwapResponseDto) GetPhoneNumber() string + func (o *SimSwapResponseDto) GetPhoneNumberOk() (*string, bool) + func (o *SimSwapResponseDto) GetProvider() string + func (o *SimSwapResponseDto) GetProviderOk() (*string, bool) + func (o *SimSwapResponseDto) GetSwapped() bool + func (o *SimSwapResponseDto) GetSwappedOk() (*bool, bool) + func (o *SimSwapResponseDto) HasLastSwappedAt() bool + func (o *SimSwapResponseDto) SetLastSwappedAt(v time.Time) + func (o *SimSwapResponseDto) SetOperator(v string) + func (o *SimSwapResponseDto) SetPhoneNumber(v string) + func (o *SimSwapResponseDto) SetProvider(v string) + func (o *SimSwapResponseDto) SetSwapped(v bool) + func (o *SimSwapResponseDto) UnmarshalJSON(data []byte) (err error) + func (o SimSwapResponseDto) MarshalJSON() ([]byte, error) + func (o SimSwapResponseDto) ToMap() (map[string]interface{}, error)