models

package
v0.0.0-...-2f60d0a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
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

func (m *AndroidDeviceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AndroidDeviceInfo) Validate

func (m *AndroidDeviceInfo) Validate(formats strfmt.Registry) error

Validate validates this android device info

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

func (*AndroidDeviceInfoVersion) Validate

func (m *AndroidDeviceInfoVersion) Validate(formats strfmt.Registry) error

Validate validates this android device info version

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

func (*AppleVerifyReceiptRequest) Validate

func (m *AppleVerifyReceiptRequest) Validate(formats strfmt.Registry) error

Validate validates this apple verify receipt request

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

func (m *Country) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this country based on context it is used

func (*Country) MarshalBinary

func (m *Country) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Country) UnmarshalBinary

func (m *Country) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Country) Validate

func (m *Country) Validate(formats strfmt.Registry) error

Validate validates this country

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

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

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

func (m *GeoPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this geo point based on context it is used

func (*GeoPoint) MarshalBinary

func (m *GeoPoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GeoPoint) UnmarshalBinary

func (m *GeoPoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GeoPoint) Validate

func (m *GeoPoint) Validate(formats strfmt.Registry) error

Validate validates this geo point

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

func (*GooglePlayPurchaseVerificationRequest) Validate

Validate validates this google play purchase verification request

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

func (m *IOSDeviceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*IOSDeviceInfo) Validate

func (m *IOSDeviceInfo) Validate(formats strfmt.Registry) error

Validate validates this i o s device info

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

func (m *IOSDeviceInfoUtsname) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*IOSDeviceInfoUtsname) Validate

func (m *IOSDeviceInfoUtsname) Validate(formats strfmt.Registry) error

Validate validates this i o s device info utsname

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

func (m *Location) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this location based on the context it is used

func (*Location) MarshalBinary

func (m *Location) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Location) UnmarshalBinary

func (m *Location) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Location) Validate

func (m *Location) Validate(formats strfmt.Registry) error

Validate validates this location

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

func (m *Lookup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this lookup based on context it is used

func (*Lookup) MarshalBinary

func (m *Lookup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Lookup) UnmarshalBinary

func (m *Lookup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Lookup) Validate

func (m *Lookup) Validate(formats strfmt.Registry) error

Validate validates this lookup

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

func (m *LookupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*LookupRequest) Validate

func (m *LookupRequest) Validate(formats strfmt.Registry) error

Validate validates this lookup request

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

func (m *ProfilePreference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ProfilePreference) Validate

func (m *ProfilePreference) Validate(formats strfmt.Registry) error

Validate validates this profile preference

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

func (m *Subscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Subscription) Validate

func (m *Subscription) Validate(formats strfmt.Registry) error

Validate validates this subscription

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

func (m *UsageTraffic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*UsageTraffic) Validate

func (m *UsageTraffic) Validate(formats strfmt.Registry) error

Validate validates this usage traffic

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

func (m *WireGuardInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WireGuardInterface) Validate

func (m *WireGuardInterface) Validate(formats strfmt.Registry) error

Validate validates this wire guard interface

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"`

	// preshared key
	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

func (m *WireGuardPeer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WireGuardPeer) Validate

func (m *WireGuardPeer) Validate(formats strfmt.Registry) error

Validate validates this wire guard peer

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

func (m *WireGuardProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WireGuardProfile) Validate

func (m *WireGuardProfile) Validate(formats strfmt.Registry) error

Validate validates this wire guard profile

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

func (*WireGuardProfileCreateRequest) Validate

func (m *WireGuardProfileCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this wire guard profile create request

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

func (*WireGuardProfileUpdateRequest) Validate

func (m *WireGuardProfileUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this wire guard profile update request

type WireGuardProfileUsage

type WireGuardProfileUsage struct {

	// traffic
	Traffic *UsageTraffic `json:"traffic,omitempty"`
}

WireGuardProfileUsage wire guard profile usage

swagger:model WireGuardProfileUsage

func (*WireGuardProfileUsage) ContextValidate

func (m *WireGuardProfileUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WireGuardProfileUsage) Validate

func (m *WireGuardProfileUsage) Validate(formats strfmt.Registry) error

Validate validates this wire guard profile usage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL