Documentation
¶
Index ¶
- Constants
- type AndroidDeviceInfo
- type AndroidDeviceInfoVersion
- func (m *AndroidDeviceInfoVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AndroidDeviceInfoVersion) MarshalBinary() ([]byte, error)
- func (m *AndroidDeviceInfoVersion) UnmarshalBinary(b []byte) error
- func (m *AndroidDeviceInfoVersion) Validate(formats strfmt.Registry) error
- type AppleVerifyReceiptRequest
- func (m *AppleVerifyReceiptRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppleVerifyReceiptRequest) MarshalBinary() ([]byte, error)
- func (m *AppleVerifyReceiptRequest) UnmarshalBinary(b []byte) error
- func (m *AppleVerifyReceiptRequest) Validate(formats strfmt.Registry) error
- type Country
- type Error
- type GeoPoint
- type GooglePlayPurchaseVerificationRequest
- func (m *GooglePlayPurchaseVerificationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GooglePlayPurchaseVerificationRequest) MarshalBinary() ([]byte, error)
- func (m *GooglePlayPurchaseVerificationRequest) UnmarshalBinary(b []byte) error
- func (m *GooglePlayPurchaseVerificationRequest) Validate(formats strfmt.Registry) error
- type IOSDeviceInfo
- type IOSDeviceInfoUtsname
- type Location
- type Lookup
- type LookupRequest
- type ProfilePreference
- type Subscription
- type UsageTraffic
- type WireGuardInterface
- type WireGuardPeer
- type WireGuardProfile
- type WireGuardProfileCreateRequest
- func (m *WireGuardProfileCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WireGuardProfileCreateRequest) MarshalBinary() ([]byte, error)
- func (m *WireGuardProfileCreateRequest) UnmarshalBinary(b []byte) error
- func (m *WireGuardProfileCreateRequest) Validate(formats strfmt.Registry) error
- type WireGuardProfileUpdateRequest
- func (m *WireGuardProfileUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WireGuardProfileUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *WireGuardProfileUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *WireGuardProfileUpdateRequest) Validate(formats strfmt.Registry) error
- type WireGuardProfileUsage
Constants ¶
const ( // LookupRequestTypeAny captures enum value "any" LookupRequestTypeAny string = "any" // LookupRequestTypeA captures enum value "a" LookupRequestTypeA string = "a" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndroidDeviceInfo ¶
type AndroidDeviceInfo struct {
// android Id
AndroidID string `json:"androidId,omitempty"`
// board
Board string `json:"board,omitempty"`
// bootloader
Bootloader string `json:"bootloader,omitempty"`
// brand
Brand string `json:"brand,omitempty"`
// device
Device string `json:"device,omitempty"`
// display
Display string `json:"display,omitempty"`
// fingerprint
Fingerprint string `json:"fingerprint,omitempty"`
// hardware
Hardware string `json:"hardware,omitempty"`
// host
Host string `json:"host,omitempty"`
// id
ID string `json:"id,omitempty"`
// is physical device
IsPhysicalDevice string `json:"isPhysicalDevice,omitempty"`
// manufacturer
Manufacturer string `json:"manufacturer,omitempty"`
// model
Model string `json:"model,omitempty"`
// product
Product string `json:"product,omitempty"`
// supported abis
SupportedAbis string `json:"supportedAbis,omitempty"`
// supported 32bit abis
Supported32bitAbis string `json:"supported_32bit_abis,omitempty"`
// supported 64bit abis
Supported64bitAbis string `json:"supported_64bit_abis,omitempty"`
// system features
SystemFeatures string `json:"systemFeatures,omitempty"`
// tags
Tags string `json:"tags,omitempty"`
// type
Type string `json:"type,omitempty"`
// version
Version *AndroidDeviceInfoVersion `json:"version,omitempty"`
}
AndroidDeviceInfo android device info
swagger:model AndroidDeviceInfo
func (*AndroidDeviceInfo) ContextValidate ¶
ContextValidate validate this android device info based on the context it is used
func (*AndroidDeviceInfo) MarshalBinary ¶
func (m *AndroidDeviceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AndroidDeviceInfo) UnmarshalBinary ¶
func (m *AndroidDeviceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AndroidDeviceInfoVersion ¶
type AndroidDeviceInfoVersion struct {
// base os
BaseOs string `json:"base_os,omitempty"`
// incremental
Incremental string `json:"incremental,omitempty"`
// preview sdk int
PreviewSdkInt string `json:"preview_sdk_int,omitempty"`
// release
Release string `json:"release,omitempty"`
// sdk int
SdkInt string `json:"sdk_int,omitempty"`
// security patch
SecurityPatch string `json:"security_patch,omitempty"`
}
AndroidDeviceInfoVersion android device info version
swagger:model AndroidDeviceInfoVersion
func (*AndroidDeviceInfoVersion) ContextValidate ¶
func (m *AndroidDeviceInfoVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this android device info version based on context it is used
func (*AndroidDeviceInfoVersion) MarshalBinary ¶
func (m *AndroidDeviceInfoVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AndroidDeviceInfoVersion) UnmarshalBinary ¶
func (m *AndroidDeviceInfoVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppleVerifyReceiptRequest ¶
type AppleVerifyReceiptRequest struct {
// adv id
AdvID string `json:"adv_id,omitempty"`
// analytic ids
AnalyticIds map[string]string `json:"analytic_ids,omitempty"`
// currency
Currency string `json:"currency,omitempty"`
// price
Price int64 `json:"price,omitempty"`
// The latest Base64-encoded transaction receipt.
// Format: byte
Receipt strfmt.Base64 `json:"receipt,omitempty"`
}
AppleVerifyReceiptRequest apple verify receipt request
swagger:model AppleVerifyReceiptRequest
func (*AppleVerifyReceiptRequest) ContextValidate ¶
func (m *AppleVerifyReceiptRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this apple verify receipt request based on context it is used
func (*AppleVerifyReceiptRequest) MarshalBinary ¶
func (m *AppleVerifyReceiptRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppleVerifyReceiptRequest) UnmarshalBinary ¶
func (m *AppleVerifyReceiptRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Country ¶
type Country struct {
// code
Code string `json:"code,omitempty"`
// emoji
Emoji string `json:"emoji,omitempty"`
// name
Name string `json:"name,omitempty"`
// printable name
PrintableName string `json:"printable_name,omitempty"`
}
Country country
swagger:model Country
func (*Country) ContextValidate ¶
ContextValidate validates this country based on context it is used
func (*Country) MarshalBinary ¶
MarshalBinary interface implementation
func (*Country) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
// Required: true
Code *string `json:"code"`
// message
// Required: true
Message *string `json:"message"`
}
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GeoPoint ¶
type GeoPoint struct {
// latitude
Latitude string `json:"latitude,omitempty"`
// longitude
Longitude string `json:"longitude,omitempty"`
}
GeoPoint geo point
swagger:model GeoPoint
func (*GeoPoint) ContextValidate ¶
ContextValidate validates this geo point based on context it is used
func (*GeoPoint) MarshalBinary ¶
MarshalBinary interface implementation
func (*GeoPoint) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GooglePlayPurchaseVerificationRequest ¶
type GooglePlayPurchaseVerificationRequest struct {
// adv id
AdvID string `json:"adv_id,omitempty"`
// analytic ids
AnalyticIds map[string]string `json:"analytic_ids,omitempty"`
// The package name of the application that this notification relates to (for example, com.some.thing).
PackageName string `json:"package_name,omitempty"`
// The inapp product SKU (for example, 'com.some.thing.inapp1').
ProductID string `json:"product_id,omitempty"`
// The purchased subscription ID (for example, 'monthly001').
SubscriptionID string `json:"subscription_id,omitempty"`
// The token provided to the user's device when the inapp product was purchased.
Token string `json:"token,omitempty"`
}
GooglePlayPurchaseVerificationRequest google play purchase verification request
swagger:model GooglePlayPurchaseVerificationRequest
func (*GooglePlayPurchaseVerificationRequest) ContextValidate ¶
func (m *GooglePlayPurchaseVerificationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this google play purchase verification request based on context it is used
func (*GooglePlayPurchaseVerificationRequest) MarshalBinary ¶
func (m *GooglePlayPurchaseVerificationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GooglePlayPurchaseVerificationRequest) UnmarshalBinary ¶
func (m *GooglePlayPurchaseVerificationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IOSDeviceInfo ¶
type IOSDeviceInfo struct {
// identifier for vendor
IdentifierForVendor string `json:"identifier_for_vendor,omitempty"`
// is physical device
IsPhysicalDevice string `json:"is_physical_device,omitempty"`
// localized model
LocalizedModel string `json:"localized_model,omitempty"`
// model
Model string `json:"model,omitempty"`
// name
Name string `json:"name,omitempty"`
// system name
SystemName string `json:"system_name,omitempty"`
// system version
SystemVersion string `json:"system_version,omitempty"`
// utsname
Utsname *IOSDeviceInfoUtsname `json:"utsname,omitempty"`
}
IOSDeviceInfo i o s device info
swagger:model IOSDeviceInfo
func (*IOSDeviceInfo) ContextValidate ¶
ContextValidate validate this i o s device info based on the context it is used
func (*IOSDeviceInfo) MarshalBinary ¶
func (m *IOSDeviceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IOSDeviceInfo) UnmarshalBinary ¶
func (m *IOSDeviceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IOSDeviceInfoUtsname ¶
type IOSDeviceInfoUtsname struct {
// machine
Machine string `json:"machine,omitempty"`
// nodename
Nodename string `json:"nodename,omitempty"`
// release
Release string `json:"release,omitempty"`
// sysname
Sysname string `json:"sysname,omitempty"`
// version
Version string `json:"version,omitempty"`
}
IOSDeviceInfoUtsname i o s device info utsname
swagger:model IOSDeviceInfoUtsname
func (*IOSDeviceInfoUtsname) ContextValidate ¶
ContextValidate validates this i o s device info utsname based on context it is used
func (*IOSDeviceInfoUtsname) MarshalBinary ¶
func (m *IOSDeviceInfoUtsname) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IOSDeviceInfoUtsname) UnmarshalBinary ¶
func (m *IOSDeviceInfoUtsname) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Location ¶
type Location struct {
// country
Country *Country `json:"country,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// point
Point *GeoPoint `json:"point,omitempty"`
// printable name
PrintableName string `json:"printable_name,omitempty"`
}
Location location
swagger:model Location
func (*Location) ContextValidate ¶
ContextValidate validate this location based on the context it is used
func (*Location) MarshalBinary ¶
MarshalBinary interface implementation
func (*Location) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Lookup ¶
type Lookup struct {
// class
Class string `json:"class,omitempty"`
// expires
Expires int64 `json:"expires,omitempty"`
// name
Name string `json:"name,omitempty"`
// type
Type string `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
}
Lookup lookup
swagger:model Lookup
func (*Lookup) ContextValidate ¶
ContextValidate validates this lookup based on context it is used
func (*Lookup) MarshalBinary ¶
MarshalBinary interface implementation
func (*Lookup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LookupRequest ¶
type LookupRequest struct {
// name
Name string `json:"name,omitempty"`
// type
// Enum: [any a]
Type *string `json:"type,omitempty"`
}
LookupRequest lookup request
swagger:model LookupRequest
func (*LookupRequest) ContextValidate ¶
ContextValidate validates this lookup request based on context it is used
func (*LookupRequest) MarshalBinary ¶
func (m *LookupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LookupRequest) UnmarshalBinary ¶
func (m *LookupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProfilePreference ¶
type ProfilePreference struct {
// inbound location
InboundLocation *Location `json:"inbound_location,omitempty"`
// outbound location
OutboundLocation *Location `json:"outbound_location,omitempty"`
}
ProfilePreference profile preference
swagger:model ProfilePreference
func (*ProfilePreference) ContextValidate ¶
ContextValidate validate this profile preference based on the context it is used
func (*ProfilePreference) MarshalBinary ¶
func (m *ProfilePreference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProfilePreference) UnmarshalBinary ¶
func (m *ProfilePreference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subscription ¶
type Subscription struct {
// active
Active bool `json:"active"`
// bundle id
BundleID string `json:"bundle_id,omitempty"`
// cancellation date
// Format: date-time
CancellationDate *strfmt.DateTime `json:"cancellation_date,omitempty"`
// description
Description string `json:"description,omitempty"`
// environment
Environment string `json:"environment,omitempty"`
// expires date
// Format: date-time
ExpiresDate *strfmt.DateTime `json:"expires_date,omitempty"`
// is in intro offer period
IsInIntroOfferPeriod bool `json:"is_in_intro_offer_period"`
// is trial period
IsTrialPeriod bool `json:"is_trial_period"`
// is upgraded
IsUpgraded bool `json:"is_upgraded"`
// name
Name string `json:"name,omitempty"`
// product id
ProductID string `json:"product_id,omitempty"`
// promotional offer id
PromotionalOfferID string `json:"promotional_offer_id,omitempty"`
// purchase date
// Format: date-time
PurchaseDate *strfmt.DateTime `json:"purchase_date,omitempty"`
// qunatity
Qunatity int64 `json:"qunatity,omitempty"`
// reorder
Reorder bool `json:"reorder"`
// source
Source string `json:"source,omitempty"`
// subscription id
// Format: uuid
SubscriptionID strfmt.UUID `json:"subscription_id,omitempty"`
}
Subscription subscription
swagger:model Subscription
func (*Subscription) ContextValidate ¶
ContextValidate validates this subscription based on context it is used
func (*Subscription) MarshalBinary ¶
func (m *Subscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscription) UnmarshalBinary ¶
func (m *Subscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UsageTraffic ¶
type UsageTraffic struct {
// consumed
Consumed int64 `json:"consumed,omitempty"`
// label
Label string `json:"label,omitempty"`
// limit
Limit int64 `json:"limit,omitempty"`
// receive
Receive int64 `json:"receive,omitempty"`
// transmit
Transmit int64 `json:"transmit,omitempty"`
}
UsageTraffic usage traffic
swagger:model UsageTraffic
func (*UsageTraffic) ContextValidate ¶
ContextValidate validates this usage traffic based on context it is used
func (*UsageTraffic) MarshalBinary ¶
func (m *UsageTraffic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UsageTraffic) UnmarshalBinary ¶
func (m *UsageTraffic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireGuardInterface ¶
type WireGuardInterface struct {
// address
// Required: true
Address []string `json:"address"`
// dns
DNS []string `json:"dns,omitempty"`
// fw mark
FwMark *string `json:"fw_mark,omitempty"`
// listen port
ListenPort *string `json:"listen_port,omitempty"`
// private key
// Required: true
PrivateKey *string `json:"private_key"`
// public key
PublicKey string `json:"public_key,omitempty"`
}
WireGuardInterface wire guard interface
swagger:model WireGuardInterface
func (*WireGuardInterface) ContextValidate ¶
ContextValidate validates this wire guard interface based on context it is used
func (*WireGuardInterface) MarshalBinary ¶
func (m *WireGuardInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireGuardInterface) UnmarshalBinary ¶
func (m *WireGuardInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireGuardPeer ¶
type WireGuardPeer struct {
// allowed ips
// Required: true
AllowedIps []string `json:"allowed_ips"`
// blocked at
// Format: date-time
BlockedAt *strfmt.DateTime `json:"blocked_at,omitempty"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// persistent keepalive
PersistentKeepalive *int64 `json:"persistent_keepalive,omitempty"`
PresharedKey *string `json:"preshared_key,omitempty"`
// private key
PrivateKey *string `json:"private_key,omitempty"`
// public key
// Required: true
PublicKey *string `json:"public_key"`
}
WireGuardPeer wire guard peer
swagger:model WireGuardPeer
func (*WireGuardPeer) ContextValidate ¶
ContextValidate validates this wire guard peer based on context it is used
func (*WireGuardPeer) MarshalBinary ¶
func (m *WireGuardPeer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireGuardPeer) UnmarshalBinary ¶
func (m *WireGuardPeer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireGuardProfile ¶
type WireGuardProfile struct {
// device id
DeviceID string `json:"device_id,omitempty"`
// device name
DeviceName string `json:"device_name,omitempty"`
// id
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// interface
// Required: true
Interface *WireGuardInterface `json:"interface"`
// peers
// Required: true
Peers []*WireGuardPeer `json:"peers"`
// preference
Preference *ProfilePreference `json:"preference,omitempty"`
// usage
Usage *WireGuardProfileUsage `json:"usage,omitempty"`
}
WireGuardProfile wire guard profile
swagger:model WireGuardProfile
func (*WireGuardProfile) ContextValidate ¶
ContextValidate validate this wire guard profile based on the context it is used
func (*WireGuardProfile) MarshalBinary ¶
func (m *WireGuardProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireGuardProfile) UnmarshalBinary ¶
func (m *WireGuardProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireGuardProfileCreateRequest ¶
type WireGuardProfileCreateRequest struct {
// android device info
AndroidDeviceInfo *AndroidDeviceInfo `json:"android_device_info,omitempty"`
// device id
// Required: true
// Min Length: 1
DeviceID *string `json:"device_id"`
// device name
// Required: true
// Min Length: 1
DeviceName *string `json:"device_name"`
// ios device info
IosDeviceInfo *IOSDeviceInfo `json:"ios_device_info,omitempty"`
}
WireGuardProfileCreateRequest wire guard profile create request
swagger:model WireGuardProfileCreateRequest
func (*WireGuardProfileCreateRequest) ContextValidate ¶
func (m *WireGuardProfileCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this wire guard profile create request based on the context it is used
func (*WireGuardProfileCreateRequest) MarshalBinary ¶
func (m *WireGuardProfileCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireGuardProfileCreateRequest) UnmarshalBinary ¶
func (m *WireGuardProfileCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireGuardProfileUpdateRequest ¶
type WireGuardProfileUpdateRequest struct {
// inbound location id
InboundLocationID string `json:"inbound_location_id,omitempty"`
// outbound location id
OutboundLocationID string `json:"outbound_location_id,omitempty"`
}
WireGuardProfileUpdateRequest wire guard profile update request
swagger:model WireGuardProfileUpdateRequest
func (*WireGuardProfileUpdateRequest) ContextValidate ¶
func (m *WireGuardProfileUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this wire guard profile update request based on context it is used
func (*WireGuardProfileUpdateRequest) MarshalBinary ¶
func (m *WireGuardProfileUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireGuardProfileUpdateRequest) UnmarshalBinary ¶
func (m *WireGuardProfileUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireGuardProfileUsage ¶
type WireGuardProfileUsage struct {
// traffic
Traffic *UsageTraffic `json:"traffic,omitempty"`
}
WireGuardProfileUsage wire guard profile usage
swagger:model WireGuardProfileUsage
func (*WireGuardProfileUsage) ContextValidate ¶
ContextValidate validate this wire guard profile usage based on the context it is used
func (*WireGuardProfileUsage) MarshalBinary ¶
func (m *WireGuardProfileUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireGuardProfileUsage) UnmarshalBinary ¶
func (m *WireGuardProfileUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- android_device_info.go
- apple_verify_receipt_request.go
- country.go
- error.go
- geo_point.go
- google_play_purchase_verification_request.go
- i_o_s_device_info.go
- location.go
- lookup.go
- lookup_request.go
- profile_preference.go
- subscription.go
- usage_traffic.go
- wire_guard_interface.go
- wire_guard_peer.go
- wire_guard_profile.go
- wire_guard_profile_create_request.go
- wire_guard_profile_update_request.go