models

package
v0.0.0-...-9bb71bf Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServicesServiceRenewalTypeAutomaticForcedProduct captures enum value "automaticForcedProduct"
	ServicesServiceRenewalTypeAutomaticForcedProduct string = "automaticForcedProduct"
	// ServicesServiceRenewalTypeAutomaticV2012 captures enum value "automaticV2012"
	ServicesServiceRenewalTypeAutomaticV2012 string = "automaticV2012"
	// ServicesServiceRenewalTypeAutomaticV2014 captures enum value "automaticV2014"
	ServicesServiceRenewalTypeAutomaticV2014 string = "automaticV2014"
	// ServicesServiceRenewalTypeAutomaticV2016 captures enum value "automaticV2016"
	ServicesServiceRenewalTypeAutomaticV2016 string = "automaticV2016"
	// ServicesServiceRenewalTypeManual captures enum value "manual"
	ServicesServiceRenewalTypeManual string = "manual"
	// ServicesServiceRenewalTypeOneShot captures enum value "oneShot"
	ServicesServiceRenewalTypeOneShot string = "oneShot"
	// ServicesServiceRenewalTypeOption captures enum value "option"
	ServicesServiceRenewalTypeOption string = "option"
)
View Source
const (
	// ServicesServiceStatusExpired captures enum value "expired"
	ServicesServiceStatusExpired string = "expired"
	// ServicesServiceStatusInCreation captures enum value "inCreation"
	ServicesServiceStatusInCreation string = "inCreation"
	// ServicesServiceStatusOk captures enum value "ok"
	ServicesServiceStatusOk string = "ok"
	// ServicesServiceStatusUnPaid captures enum value "unPaid"
	ServicesServiceStatusUnPaid string = "unPaid"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GetVipDefaultBody

type GetVipDefaultBody struct {

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// http code
	HTTPCode int32 `json:"httpCode,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

GetVipDefaultBody get vip default body swagger:model getVipDefaultBody

func (*GetVipDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetVipDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetVipDefaultBody) Validate

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

Validate validates this get vip default body

type GetVipServiceNameDefaultBody

type GetVipServiceNameDefaultBody struct {

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// http code
	HTTPCode int32 `json:"httpCode,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

GetVipServiceNameDefaultBody get vip service name default body swagger:model getVipServiceNameDefaultBody

func (*GetVipServiceNameDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetVipServiceNameDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetVipServiceNameDefaultBody) Validate

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

Validate validates this get vip service name default body

type GetVipServiceNameServiceInfosDefaultBody

type GetVipServiceNameServiceInfosDefaultBody struct {

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// http code
	HTTPCode int32 `json:"httpCode,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

GetVipServiceNameServiceInfosDefaultBody get vip service name service infos default body swagger:model getVipServiceNameServiceInfosDefaultBody

func (*GetVipServiceNameServiceInfosDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetVipServiceNameServiceInfosDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetVipServiceNameServiceInfosDefaultBody) Validate

Validate validates this get vip service name service infos default body

type PutVipServiceNameServiceInfosDefaultBody

type PutVipServiceNameServiceInfosDefaultBody struct {

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// http code
	HTTPCode int32 `json:"httpCode,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PutVipServiceNameServiceInfosDefaultBody put vip service name service infos default body swagger:model putVipServiceNameServiceInfosDefaultBody

func (*PutVipServiceNameServiceInfosDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutVipServiceNameServiceInfosDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutVipServiceNameServiceInfosDefaultBody) Validate

Validate validates this put vip service name service infos default body

type ServiceRenewType

type ServiceRenewType struct {

	// The service is automatically renewed
	Automatic bool `json:"automatic,omitempty"`

	// The service will be deleted at expiration
	DeleteAtExpiration bool `json:"deleteAtExpiration,omitempty"`

	// The service forced to be renewed
	Forced bool `json:"forced,omitempty"`

	// The service needs to be manually renewed and paid
	ManualPayment bool `json:"manualPayment,omitempty"`

	// period of renew in month
	Period int64 `json:"period,omitempty"`
}

ServiceRenewType Map a possible renew for a specific service swagger:model service.RenewType

func (*ServiceRenewType) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceRenewType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceRenewType) Validate

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

Validate validates this service renew type

type ServicesService

type ServicesService struct {

	// Indicates that the service can be set up to be deleted at expiration
	// Required: true
	// Read Only: true
	CanDeleteAtExpiration bool `json:"canDeleteAtExpiration"`

	// contact admin
	// Required: true
	// Read Only: true
	ContactAdmin string `json:"contactAdmin"`

	// contact billing
	// Required: true
	// Read Only: true
	ContactBilling string `json:"contactBilling"`

	// contact tech
	// Required: true
	// Read Only: true
	ContactTech string `json:"contactTech"`

	// creation
	// Required: true
	// Read Only: true
	Creation strfmt.Date `json:"creation"`

	// domain
	// Required: true
	// Read Only: true
	Domain string `json:"domain"`

	// engaged up to
	// Read Only: true
	EngagedUpTo strfmt.Date `json:"engagedUpTo,omitempty"`

	// expiration
	// Required: true
	// Read Only: true
	Expiration strfmt.Date `json:"expiration"`

	// All the possible renew period of your service in month
	// Read Only: true
	PossibleRenewPeriod []int64 `json:"possibleRenewPeriod"`

	// renew
	Renew *ServiceRenewType `json:"renew,omitempty"`

	// renewal type
	// Required: true
	// Read Only: true
	RenewalType string `json:"renewalType"`

	// service Id
	// Required: true
	// Read Only: true
	ServiceID int64 `json:"serviceId"`

	// status
	// Required: true
	// Read Only: true
	Status string `json:"status"`
}

ServicesService Details about a Service swagger:model services.Service

func (*ServicesService) MarshalBinary

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

MarshalBinary interface implementation

func (*ServicesService) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServicesService) Validate

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

Validate validates this services service

type VipSupportVip

type VipSupportVip struct {

	// Name of the VIP offer
	// Required: true
	// Read Only: true
	ServiceName string `json:"serviceName"`

	// VIP universes of this service
	// Required: true
	// Read Only: true
	Universe []string `json:"universe"`
}

VipSupportVip Vip Service swagger:model vip.SupportVip

func (*VipSupportVip) MarshalBinary

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

MarshalBinary interface implementation

func (*VipSupportVip) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VipSupportVip) Validate

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

Validate validates this vip support vip

Jump to

Keyboard shortcuts

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