Documentation ¶
Index ¶
- type AddSIMRequest
- type AddSIMRouteRequest
- type ApplyRequest
- type BootRequest
- type ConnectToSwitchRequest
- type CreateRequest
- type DeleteRequest
- type DeleteSIMRequest
- type DeleteSIMRouteRequest
- type DeleteTrafficConfigRequest
- type DisconnectFromSwitchRequest
- type FindRequest
- type GetDNSRequest
- type GetTrafficConfigRequest
- type ListSIMRequest
- type ListSIMRouteRequest
- type LogsRequest
- type MonitorInterfaceRequest
- type PrivateInterfaceSetting
- type ReadRequest
- type ResetRequest
- type SIMRouteSetting
- type SIMSetting
- type Service
- func (s *Service) AddSIM(req *AddSIMRequest) error
- func (s *Service) AddSIMRoute(req *AddSIMRouteRequest) error
- func (s *Service) AddSIMRouteWithContext(ctx context.Context, req *AddSIMRouteRequest) error
- func (s *Service) AddSIMWithContext(ctx context.Context, req *AddSIMRequest) error
- func (s *Service) Apply(req *ApplyRequest) (*sacloud.MobileGateway, error)
- func (s *Service) ApplyWithContext(ctx context.Context, req *ApplyRequest) (*sacloud.MobileGateway, error)
- func (s *Service) Boot(req *BootRequest) error
- func (s *Service) BootWithContext(ctx context.Context, req *BootRequest) error
- func (s *Service) ConnectToSwitch(req *ConnectToSwitchRequest) error
- func (s *Service) ConnectToSwitchWithContext(ctx context.Context, req *ConnectToSwitchRequest) error
- func (s *Service) Create(req *CreateRequest) (*sacloud.MobileGateway, error)
- func (s *Service) CreateWithContext(ctx context.Context, req *CreateRequest) (*sacloud.MobileGateway, error)
- func (s *Service) Delete(req *DeleteRequest) error
- func (s *Service) DeleteSIM(req *DeleteSIMRequest) error
- func (s *Service) DeleteSIMRoute(req *DeleteSIMRouteRequest) error
- func (s *Service) DeleteSIMRouteWithContext(ctx context.Context, req *DeleteSIMRouteRequest) error
- func (s *Service) DeleteSIMWithContext(ctx context.Context, req *DeleteSIMRequest) error
- func (s *Service) DeleteTrafficConfig(req *DeleteTrafficConfigRequest) error
- func (s *Service) DeleteTrafficConfigWithContext(ctx context.Context, req *DeleteTrafficConfigRequest) error
- func (s *Service) DeleteWithContext(ctx context.Context, req *DeleteRequest) error
- func (s *Service) DisconnectFromSwitch(req *DisconnectFromSwitchRequest) error
- func (s *Service) DisconnectFromSwitchWithContext(ctx context.Context, req *DisconnectFromSwitchRequest) error
- func (s *Service) Find(req *FindRequest) ([]*sacloud.MobileGateway, error)
- func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*sacloud.MobileGateway, error)
- func (s *Service) GetDNS(req *GetDNSRequest) (*sacloud.MobileGatewayDNSSetting, error)
- func (s *Service) GetDNSWithContext(ctx context.Context, req *GetDNSRequest) (*sacloud.MobileGatewayDNSSetting, error)
- func (s *Service) GetTrafficConfig(req *GetTrafficConfigRequest) (*sacloud.MobileGatewayTrafficControl, error)
- func (s *Service) GetTrafficConfigWithContext(ctx context.Context, req *GetTrafficConfigRequest) (*sacloud.MobileGatewayTrafficControl, error)
- func (s *Service) ListSIM(req *ListSIMRequest) (sacloud.MobileGatewaySIMs, error)
- func (s *Service) ListSIMRoute(req *ListSIMRouteRequest) (sacloud.MobileGatewaySIMRoutes, error)
- func (s *Service) ListSIMRouteWithContext(ctx context.Context, req *ListSIMRouteRequest) (sacloud.MobileGatewaySIMRoutes, error)
- func (s *Service) ListSIMWithContext(ctx context.Context, req *ListSIMRequest) (sacloud.MobileGatewaySIMs, error)
- func (s *Service) Logs(req *LogsRequest) ([]*sacloud.MobileGatewaySIMLogs, error)
- func (s *Service) LogsWithContext(ctx context.Context, req *LogsRequest) ([]*sacloud.MobileGatewaySIMLogs, error)
- func (s *Service) MonitorInterface(req *MonitorInterfaceRequest) ([]*sacloud.MonitorInterfaceValue, error)
- func (s *Service) MonitorInterfaceWithContext(ctx context.Context, req *MonitorInterfaceRequest) ([]*sacloud.MonitorInterfaceValue, error)
- func (s *Service) Read(req *ReadRequest) (*sacloud.MobileGateway, error)
- func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*sacloud.MobileGateway, error)
- func (s *Service) Reset(req *ResetRequest) error
- func (s *Service) ResetWithContext(ctx context.Context, req *ResetRequest) error
- func (s *Service) SetDNS(req *SetDNSRequest) error
- func (s *Service) SetDNSWithContext(ctx context.Context, req *SetDNSRequest) error
- func (s *Service) SetTrafficConfig(req *SetTrafficConfigRequest) error
- func (s *Service) SetTrafficConfigWithContext(ctx context.Context, req *SetTrafficConfigRequest) error
- func (s *Service) Shutdown(req *ShutdownRequest) error
- func (s *Service) ShutdownWithContext(ctx context.Context, req *ShutdownRequest) error
- func (s *Service) TrafficStatus(req *TrafficStatusRequest) (*sacloud.MobileGatewayTrafficStatus, error)
- func (s *Service) TrafficStatusWithContext(ctx context.Context, req *TrafficStatusRequest) (*sacloud.MobileGatewayTrafficStatus, error)
- func (s *Service) Update(req *UpdateRequest) (*sacloud.MobileGateway, error)
- func (s *Service) UpdateSIM(req *UpdateSIMRequest) error
- func (s *Service) UpdateSIMRoute(req *UpdateSIMRouteRequest) error
- func (s *Service) UpdateSIMRouteWithContext(ctx context.Context, req *UpdateSIMRouteRequest) error
- func (s *Service) UpdateSIMWithContext(ctx context.Context, req *UpdateSIMRequest) error
- func (s *Service) UpdateWithContext(ctx context.Context, req *UpdateRequest) (*sacloud.MobileGateway, error)
- func (s *Service) WaitBoot(req *WaitBootRequest) error
- func (s *Service) WaitBootWithContext(ctx context.Context, req *WaitBootRequest) error
- func (s *Service) WaitShutdown(req *WaitShutdownRequest) error
- func (s *Service) WaitShutdownWithContext(ctx context.Context, req *WaitShutdownRequest) error
- type SetDNSRequest
- type SetTrafficConfigRequest
- type ShutdownRequest
- type TrafficStatusRequest
- type UpdateRequest
- type UpdateSIMRequest
- type UpdateSIMRouteRequest
- type WaitBootRequest
- type WaitShutdownRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSIMRequest ¶
type AddSIMRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SIMID types.ID `validate:"required"` IPAddress string `validate:"required,ipv4"` }
func (*AddSIMRequest) Validate ¶
func (req *AddSIMRequest) Validate() error
type AddSIMRouteRequest ¶
type AddSIMRouteRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SIMID types.ID `validate:"required"` Prefix string `validate:"required"` }
func (*AddSIMRouteRequest) Validate ¶
func (req *AddSIMRouteRequest) Validate() error
type ApplyRequest ¶
type ApplyRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-"` Name string `validate:"required"` Description string `validate:"min=0,max=512"` Tags types.Tags IconID types.ID PrivateInterface *PrivateInterfaceSetting `validate:"omitempty"` StaticRoutes []*sacloud.MobileGatewayStaticRoute SimRoutes []*SIMRouteSetting InternetConnectionEnabled types.StringFlag InterDeviceCommunicationEnabled types.StringFlag DNS *sacloud.MobileGatewayDNSSetting SIMs []*SIMSetting TrafficConfig *sacloud.MobileGatewayTrafficControl }
func (*ApplyRequest) Validate ¶
func (req *ApplyRequest) Validate() error
type BootRequest ¶
type BootRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` NoWait bool `request:"-"` }
func (*BootRequest) Validate ¶
func (req *BootRequest) Validate() error
type ConnectToSwitchRequest ¶
type ConnectToSwitchRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SwitchID types.ID `validate:"required"` }
func (*ConnectToSwitchRequest) Validate ¶
func (req *ConnectToSwitchRequest) Validate() error
type CreateRequest ¶
type CreateRequest struct { Zone string `request:"-" validate:"required"` Name string `validate:"required"` Description string `validate:"min=0,max=512"` Tags types.Tags IconID types.ID StaticRoutes []*sacloud.MobileGatewayStaticRoute InternetConnectionEnabled types.StringFlag InterDeviceCommunicationEnabled types.StringFlag }
func (*CreateRequest) ToRequestParameter ¶
func (req *CreateRequest) ToRequestParameter() (*sacloud.MobileGatewayCreateRequest, error)
func (*CreateRequest) Validate ¶
func (req *CreateRequest) Validate() error
type DeleteRequest ¶
type DeleteRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` FailIfNotFound bool `request:"-"` }
func (*DeleteRequest) Validate ¶
func (req *DeleteRequest) Validate() error
type DeleteSIMRequest ¶
type DeleteSIMRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SIMID types.ID `validate:"required"` }
func (*DeleteSIMRequest) Validate ¶
func (req *DeleteSIMRequest) Validate() error
type DeleteSIMRouteRequest ¶
type DeleteSIMRouteRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SIMID types.ID `validate:"required"` }
func (*DeleteSIMRouteRequest) Validate ¶
func (req *DeleteSIMRouteRequest) Validate() error
type DeleteTrafficConfigRequest ¶
type DeleteTrafficConfigRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*DeleteTrafficConfigRequest) Validate ¶
func (req *DeleteTrafficConfigRequest) Validate() error
type DisconnectFromSwitchRequest ¶
type DisconnectFromSwitchRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*DisconnectFromSwitchRequest) Validate ¶
func (req *DisconnectFromSwitchRequest) Validate() error
type FindRequest ¶
type FindRequest struct { Zone string `request:"-" validate:"required"` Names []string `request:"-"` Tags []string `request:"-"` Sort search.SortKeys Count int From int }
func (*FindRequest) ToRequestParameter ¶
func (req *FindRequest) ToRequestParameter() (*sacloud.FindCondition, error)
func (*FindRequest) Validate ¶
func (req *FindRequest) Validate() error
type GetDNSRequest ¶
type GetDNSRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*GetDNSRequest) Validate ¶
func (req *GetDNSRequest) Validate() error
type GetTrafficConfigRequest ¶
type GetTrafficConfigRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*GetTrafficConfigRequest) Validate ¶
func (req *GetTrafficConfigRequest) Validate() error
type ListSIMRequest ¶
type ListSIMRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*ListSIMRequest) Validate ¶
func (req *ListSIMRequest) Validate() error
type ListSIMRouteRequest ¶
type ListSIMRouteRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*ListSIMRouteRequest) Validate ¶
func (req *ListSIMRouteRequest) Validate() error
type LogsRequest ¶
type LogsRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*LogsRequest) Validate ¶
func (req *LogsRequest) Validate() error
type MonitorInterfaceRequest ¶
type MonitorInterfaceRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` Start time.Time End time.Time Index int }
func (*MonitorInterfaceRequest) Validate ¶
func (req *MonitorInterfaceRequest) Validate() error
type PrivateInterfaceSetting ¶
type PrivateInterfaceSetting struct { SwitchID types.ID IPAddress []string `validate:"ipv4"` NetworkMaskLen int }
PrivateInterfaceSetting represents API parameter/response structure
type ReadRequest ¶
type ReadRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*ReadRequest) Validate ¶
func (req *ReadRequest) Validate() error
type ResetRequest ¶
type ResetRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*ResetRequest) Validate ¶
func (req *ResetRequest) Validate() error
type SIMRouteSetting ¶
SIMRouteSetting represents API parameter/response structure
type SIMSetting ¶
SIMSetting represents API parameter/response structure
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides a high-level API of for MobileGateway
func (*Service) AddSIM ¶
func (s *Service) AddSIM(req *AddSIMRequest) error
func (*Service) AddSIMRoute ¶
func (s *Service) AddSIMRoute(req *AddSIMRouteRequest) error
func (*Service) AddSIMRouteWithContext ¶
func (s *Service) AddSIMRouteWithContext(ctx context.Context, req *AddSIMRouteRequest) error
func (*Service) AddSIMWithContext ¶
func (s *Service) AddSIMWithContext(ctx context.Context, req *AddSIMRequest) error
func (*Service) Apply ¶
func (s *Service) Apply(req *ApplyRequest) (*sacloud.MobileGateway, error)
func (*Service) ApplyWithContext ¶
func (s *Service) ApplyWithContext(ctx context.Context, req *ApplyRequest) (*sacloud.MobileGateway, error)
func (*Service) Boot ¶
func (s *Service) Boot(req *BootRequest) error
func (*Service) BootWithContext ¶
func (s *Service) BootWithContext(ctx context.Context, req *BootRequest) error
func (*Service) ConnectToSwitch ¶
func (s *Service) ConnectToSwitch(req *ConnectToSwitchRequest) error
func (*Service) ConnectToSwitchWithContext ¶
func (s *Service) ConnectToSwitchWithContext(ctx context.Context, req *ConnectToSwitchRequest) error
func (*Service) Create ¶
func (s *Service) Create(req *CreateRequest) (*sacloud.MobileGateway, error)
func (*Service) CreateWithContext ¶
func (s *Service) CreateWithContext(ctx context.Context, req *CreateRequest) (*sacloud.MobileGateway, error)
func (*Service) Delete ¶
func (s *Service) Delete(req *DeleteRequest) error
func (*Service) DeleteSIM ¶
func (s *Service) DeleteSIM(req *DeleteSIMRequest) error
func (*Service) DeleteSIMRoute ¶
func (s *Service) DeleteSIMRoute(req *DeleteSIMRouteRequest) error
func (*Service) DeleteSIMRouteWithContext ¶
func (s *Service) DeleteSIMRouteWithContext(ctx context.Context, req *DeleteSIMRouteRequest) error
func (*Service) DeleteSIMWithContext ¶
func (s *Service) DeleteSIMWithContext(ctx context.Context, req *DeleteSIMRequest) error
func (*Service) DeleteTrafficConfig ¶
func (s *Service) DeleteTrafficConfig(req *DeleteTrafficConfigRequest) error
func (*Service) DeleteTrafficConfigWithContext ¶
func (s *Service) DeleteTrafficConfigWithContext(ctx context.Context, req *DeleteTrafficConfigRequest) error
func (*Service) DeleteWithContext ¶
func (s *Service) DeleteWithContext(ctx context.Context, req *DeleteRequest) error
func (*Service) DisconnectFromSwitch ¶
func (s *Service) DisconnectFromSwitch(req *DisconnectFromSwitchRequest) error
func (*Service) DisconnectFromSwitchWithContext ¶
func (s *Service) DisconnectFromSwitchWithContext(ctx context.Context, req *DisconnectFromSwitchRequest) error
func (*Service) Find ¶
func (s *Service) Find(req *FindRequest) ([]*sacloud.MobileGateway, error)
func (*Service) FindWithContext ¶
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*sacloud.MobileGateway, error)
func (*Service) GetDNS ¶
func (s *Service) GetDNS(req *GetDNSRequest) (*sacloud.MobileGatewayDNSSetting, error)
func (*Service) GetDNSWithContext ¶
func (s *Service) GetDNSWithContext(ctx context.Context, req *GetDNSRequest) (*sacloud.MobileGatewayDNSSetting, error)
func (*Service) GetTrafficConfig ¶
func (s *Service) GetTrafficConfig(req *GetTrafficConfigRequest) (*sacloud.MobileGatewayTrafficControl, error)
func (*Service) GetTrafficConfigWithContext ¶
func (s *Service) GetTrafficConfigWithContext(ctx context.Context, req *GetTrafficConfigRequest) (*sacloud.MobileGatewayTrafficControl, error)
func (*Service) ListSIM ¶
func (s *Service) ListSIM(req *ListSIMRequest) (sacloud.MobileGatewaySIMs, error)
func (*Service) ListSIMRoute ¶
func (s *Service) ListSIMRoute(req *ListSIMRouteRequest) (sacloud.MobileGatewaySIMRoutes, error)
func (*Service) ListSIMRouteWithContext ¶
func (s *Service) ListSIMRouteWithContext(ctx context.Context, req *ListSIMRouteRequest) (sacloud.MobileGatewaySIMRoutes, error)
func (*Service) ListSIMWithContext ¶
func (s *Service) ListSIMWithContext(ctx context.Context, req *ListSIMRequest) (sacloud.MobileGatewaySIMs, error)
func (*Service) Logs ¶
func (s *Service) Logs(req *LogsRequest) ([]*sacloud.MobileGatewaySIMLogs, error)
func (*Service) LogsWithContext ¶
func (s *Service) LogsWithContext(ctx context.Context, req *LogsRequest) ([]*sacloud.MobileGatewaySIMLogs, error)
func (*Service) MonitorInterface ¶
func (s *Service) MonitorInterface(req *MonitorInterfaceRequest) ([]*sacloud.MonitorInterfaceValue, error)
func (*Service) MonitorInterfaceWithContext ¶
func (s *Service) MonitorInterfaceWithContext(ctx context.Context, req *MonitorInterfaceRequest) ([]*sacloud.MonitorInterfaceValue, error)
func (*Service) Read ¶
func (s *Service) Read(req *ReadRequest) (*sacloud.MobileGateway, error)
func (*Service) ReadWithContext ¶
func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*sacloud.MobileGateway, error)
func (*Service) Reset ¶
func (s *Service) Reset(req *ResetRequest) error
func (*Service) ResetWithContext ¶
func (s *Service) ResetWithContext(ctx context.Context, req *ResetRequest) error
func (*Service) SetDNS ¶
func (s *Service) SetDNS(req *SetDNSRequest) error
func (*Service) SetDNSWithContext ¶
func (s *Service) SetDNSWithContext(ctx context.Context, req *SetDNSRequest) error
func (*Service) SetTrafficConfig ¶
func (s *Service) SetTrafficConfig(req *SetTrafficConfigRequest) error
func (*Service) SetTrafficConfigWithContext ¶
func (s *Service) SetTrafficConfigWithContext(ctx context.Context, req *SetTrafficConfigRequest) error
func (*Service) Shutdown ¶
func (s *Service) Shutdown(req *ShutdownRequest) error
func (*Service) ShutdownWithContext ¶
func (s *Service) ShutdownWithContext(ctx context.Context, req *ShutdownRequest) error
func (*Service) TrafficStatus ¶
func (s *Service) TrafficStatus(req *TrafficStatusRequest) (*sacloud.MobileGatewayTrafficStatus, error)
func (*Service) TrafficStatusWithContext ¶
func (s *Service) TrafficStatusWithContext(ctx context.Context, req *TrafficStatusRequest) (*sacloud.MobileGatewayTrafficStatus, error)
func (*Service) Update ¶
func (s *Service) Update(req *UpdateRequest) (*sacloud.MobileGateway, error)
func (*Service) UpdateSIM ¶
func (s *Service) UpdateSIM(req *UpdateSIMRequest) error
func (*Service) UpdateSIMRoute ¶
func (s *Service) UpdateSIMRoute(req *UpdateSIMRouteRequest) error
func (*Service) UpdateSIMRouteWithContext ¶
func (s *Service) UpdateSIMRouteWithContext(ctx context.Context, req *UpdateSIMRouteRequest) error
func (*Service) UpdateSIMWithContext ¶
func (s *Service) UpdateSIMWithContext(ctx context.Context, req *UpdateSIMRequest) error
func (*Service) UpdateWithContext ¶
func (s *Service) UpdateWithContext(ctx context.Context, req *UpdateRequest) (*sacloud.MobileGateway, error)
func (*Service) WaitBoot ¶
func (s *Service) WaitBoot(req *WaitBootRequest) error
func (*Service) WaitBootWithContext ¶
func (s *Service) WaitBootWithContext(ctx context.Context, req *WaitBootRequest) error
func (*Service) WaitShutdown ¶
func (s *Service) WaitShutdown(req *WaitShutdownRequest) error
func (*Service) WaitShutdownWithContext ¶
func (s *Service) WaitShutdownWithContext(ctx context.Context, req *WaitShutdownRequest) error
type SetDNSRequest ¶
type SetDNSRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` DNS1 string `validate:"required,ipv4"` DNS2 string `validate:"required,ipv4"` }
func (*SetDNSRequest) Validate ¶
func (req *SetDNSRequest) Validate() error
type SetTrafficConfigRequest ¶
type SetTrafficConfigRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` TrafficQuotaInMB int BandWidthLimitInKbps int EmailNotifyEnabled bool SlackNotifyEnabled bool SlackNotifyWebhooksURL string AutoTrafficShaping bool }
func (*SetTrafficConfigRequest) Validate ¶
func (req *SetTrafficConfigRequest) Validate() error
type ShutdownRequest ¶
type ShutdownRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` NoWait bool `request:"-"` ForceShutdown bool `request:"-"` }
func (*ShutdownRequest) Validate ¶
func (req *ShutdownRequest) Validate() error
type TrafficStatusRequest ¶
type TrafficStatusRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*TrafficStatusRequest) Validate ¶
func (req *TrafficStatusRequest) Validate() error
type UpdateRequest ¶
type UpdateRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` Name *string `request:",omitempty" validate:"omitempty,min=1"` Description *string `request:",omitempty" validate:"omitempty,min=1,max=512"` Tags *types.Tags `request:",omitempty"` IconID *types.ID `request:",omitempty"` InterfaceSettings *[]*sacloud.MobileGatewayInterfaceSetting `validate:"omitempty"` StaticRoutes *[]*sacloud.MobileGatewayStaticRoute `validate:"omitempty"` InternetConnectionEnabled *bool `validate:"omitempty"` InterDeviceCommunicationEnabled *bool `validate:"omitempty"` SettingsHash string }
func (*UpdateRequest) ToRequestParameter ¶
func (req *UpdateRequest) ToRequestParameter(current *sacloud.MobileGateway) (*sacloud.MobileGatewayUpdateRequest, error)
func (*UpdateRequest) Validate ¶
func (req *UpdateRequest) Validate() error
type UpdateSIMRequest ¶
type UpdateSIMRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SIMID types.ID `validate:"required"` IPAddress string `validate:"required,ipv4"` }
func (*UpdateSIMRequest) Validate ¶
func (req *UpdateSIMRequest) Validate() error
type UpdateSIMRouteRequest ¶
type UpdateSIMRouteRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` SIMID types.ID `validate:"required"` Prefix string `validate:"required"` }
func (*UpdateSIMRouteRequest) Validate ¶
func (req *UpdateSIMRouteRequest) Validate() error
type WaitBootRequest ¶
type WaitBootRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*WaitBootRequest) Validate ¶
func (req *WaitBootRequest) Validate() error
type WaitShutdownRequest ¶
type WaitShutdownRequest struct { Zone string `request:"-" validate:"required"` ID types.ID `request:"-" validate:"required"` }
func (*WaitShutdownRequest) Validate ¶
func (req *WaitShutdownRequest) Validate() error
Source Files ¶
- add_sim_request.go
- add_sim_route_request.go
- add_sim_route_service.go
- add_sim_service.go
- apply_request.go
- apply_service.go
- boot_request.go
- boot_service.go
- connect_to_switch_request.go
- connect_to_switch_service.go
- create_request.go
- create_service.go
- delete_request.go
- delete_service.go
- delete_sim_request.go
- delete_sim_route_request.go
- delete_sim_route_service.go
- delete_sim_service.go
- delete_traffic_config_request.go
- delete_traffic_config_service.go
- disconnect_from_switch_request.go
- disconnect_from_switch_service.go
- find_request.go
- find_service.go
- get_dns_request.go
- get_dns_service.go
- get_traffic_config_request.go
- get_traffic_config_service.go
- list_sim_request.go
- list_sim_route_request.go
- list_sim_route_service.go
- list_sim_service.go
- logs_request.go
- logs_service.go
- monitor_interface_request.go
- monitor_interface_service.go
- read_request.go
- read_service.go
- reset_request.go
- reset_service.go
- service.go
- set_dns_request.go
- set_dns_service.go
- set_traffic_config_request.go
- set_traffic_config_service.go
- shutdown_request.go
- shutdown_service.go
- traffic_status_request.go
- traffic_status_service.go
- update_request.go
- update_service.go
- update_sim_request.go
- update_sim_route_request.go
- update_sim_route_service.go
- update_sim_service.go
- wait_boot_request.go
- wait_boot_service.go
- wait_shutdown_request.go
- wait_shutdown_service.go
Click to show internal directories.
Click to hide internal directories.