Documentation
¶
Overview ¶
Package apig20221112iface provides an interface to enable mocking the APIG20221112 service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type AIProviderSettingsForCreateRouteInput
- func (s AIProviderSettingsForCreateRouteInput) GoString() string
- func (s *AIProviderSettingsForCreateRouteInput) SetModel(v string) *AIProviderSettingsForCreateRouteInput
- func (s *AIProviderSettingsForCreateRouteInput) SetTargetPath(v string) *AIProviderSettingsForCreateRouteInput
- func (s AIProviderSettingsForCreateRouteInput) String() string
- type AIProviderSettingsForGetRouteOutput
- func (s AIProviderSettingsForGetRouteOutput) GoString() string
- func (s *AIProviderSettingsForGetRouteOutput) SetModel(v string) *AIProviderSettingsForGetRouteOutput
- func (s *AIProviderSettingsForGetRouteOutput) SetTargetPath(v string) *AIProviderSettingsForGetRouteOutput
- func (s AIProviderSettingsForGetRouteOutput) String() string
- type AIProviderSettingsForListRoutesOutput
- func (s AIProviderSettingsForListRoutesOutput) GoString() string
- func (s *AIProviderSettingsForListRoutesOutput) SetModel(v string) *AIProviderSettingsForListRoutesOutput
- func (s *AIProviderSettingsForListRoutesOutput) SetTargetPath(v string) *AIProviderSettingsForListRoutesOutput
- func (s AIProviderSettingsForListRoutesOutput) String() string
- type AIProviderSettingsForUpdateRouteInput
- func (s AIProviderSettingsForUpdateRouteInput) GoString() string
- func (s *AIProviderSettingsForUpdateRouteInput) SetModel(v string) *AIProviderSettingsForUpdateRouteInput
- func (s *AIProviderSettingsForUpdateRouteInput) SetTargetPath(v string) *AIProviderSettingsForUpdateRouteInput
- func (s AIProviderSettingsForUpdateRouteInput) String() string
- type APIG20221112
- func (c *APIG20221112) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)
- func (c *APIG20221112) CreateRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *APIG20221112) CreateRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *APIG20221112) CreateRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *APIG20221112) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)
- func (c *APIG20221112) CreateRouteWithContext(ctx byteplus.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)
- func (c *APIG20221112) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)
- func (c *APIG20221112) DeleteRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *APIG20221112) DeleteRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *APIG20221112) DeleteRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *APIG20221112) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)
- func (c *APIG20221112) DeleteRouteWithContext(ctx byteplus.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)
- func (c *APIG20221112) GetRoute(input *GetRouteInput) (*GetRouteOutput, error)
- func (c *APIG20221112) GetRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *APIG20221112) GetRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *APIG20221112) GetRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *APIG20221112) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput)
- func (c *APIG20221112) GetRouteWithContext(ctx byteplus.Context, input *GetRouteInput, opts ...request.Option) (*GetRouteOutput, error)
- func (c *APIG20221112) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error)
- func (c *APIG20221112) ListRoutesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *APIG20221112) ListRoutesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *APIG20221112) ListRoutesCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *APIG20221112) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput)
- func (c *APIG20221112) ListRoutesWithContext(ctx byteplus.Context, input *ListRoutesInput, opts ...request.Option) (*ListRoutesOutput, error)
- func (c *APIG20221112) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)
- func (c *APIG20221112) UpdateRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *APIG20221112) UpdateRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *APIG20221112) UpdateRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *APIG20221112) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)
- func (c *APIG20221112) UpdateRouteWithContext(ctx byteplus.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)
- type APIG20221112API
- type AdvancedSettingForCreateRouteInput
- func (s AdvancedSettingForCreateRouteInput) GoString() string
- func (s *AdvancedSettingForCreateRouteInput) SetCorsPolicySetting(v *CorsPolicySettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
- func (s *AdvancedSettingForCreateRouteInput) SetHeaderOperations(v []*HeaderOperationForCreateRouteInput) *AdvancedSettingForCreateRouteInput
- func (s *AdvancedSettingForCreateRouteInput) SetMirrorPolicies(v []*MirrorPolicyForCreateRouteInput) *AdvancedSettingForCreateRouteInput
- func (s *AdvancedSettingForCreateRouteInput) SetRetryPolicySetting(v *RetryPolicySettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
- func (s *AdvancedSettingForCreateRouteInput) SetTimeoutSetting(v *TimeoutSettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
- func (s *AdvancedSettingForCreateRouteInput) SetURLRewriteSetting(v *URLRewriteSettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
- func (s AdvancedSettingForCreateRouteInput) String() string
- type AdvancedSettingForGetRouteOutput
- func (s AdvancedSettingForGetRouteOutput) GoString() string
- func (s *AdvancedSettingForGetRouteOutput) SetCorsPolicySetting(v *CorsPolicySettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
- func (s *AdvancedSettingForGetRouteOutput) SetHeaderOperations(v []*HeaderOperationForGetRouteOutput) *AdvancedSettingForGetRouteOutput
- func (s *AdvancedSettingForGetRouteOutput) SetMirrorPolicies(v []*MirrorPolicyForGetRouteOutput) *AdvancedSettingForGetRouteOutput
- func (s *AdvancedSettingForGetRouteOutput) SetRetryPolicySetting(v *RetryPolicySettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
- func (s *AdvancedSettingForGetRouteOutput) SetTimeoutSetting(v *TimeoutSettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
- func (s *AdvancedSettingForGetRouteOutput) SetURLRewriteSetting(v *URLRewriteSettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
- func (s AdvancedSettingForGetRouteOutput) String() string
- type AdvancedSettingForListRoutesOutput
- func (s AdvancedSettingForListRoutesOutput) GoString() string
- func (s *AdvancedSettingForListRoutesOutput) SetCorsPolicySetting(v *CorsPolicySettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
- func (s *AdvancedSettingForListRoutesOutput) SetHeaderOperations(v []*HeaderOperationForListRoutesOutput) *AdvancedSettingForListRoutesOutput
- func (s *AdvancedSettingForListRoutesOutput) SetMirrorPolicies(v []*MirrorPolicyForListRoutesOutput) *AdvancedSettingForListRoutesOutput
- func (s *AdvancedSettingForListRoutesOutput) SetRetryPolicySetting(v *RetryPolicySettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
- func (s *AdvancedSettingForListRoutesOutput) SetTimeoutSetting(v *TimeoutSettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
- func (s *AdvancedSettingForListRoutesOutput) SetURLRewriteSetting(v *URLRewriteSettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
- func (s AdvancedSettingForListRoutesOutput) String() string
- type AdvancedSettingForUpdateRouteInput
- func (s AdvancedSettingForUpdateRouteInput) GoString() string
- func (s *AdvancedSettingForUpdateRouteInput) SetCorsPolicySetting(v *CorsPolicySettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
- func (s *AdvancedSettingForUpdateRouteInput) SetHeaderOperations(v []*HeaderOperationForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
- func (s *AdvancedSettingForUpdateRouteInput) SetMirrorPolicies(v []*MirrorPolicyForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
- func (s *AdvancedSettingForUpdateRouteInput) SetRetryPolicySetting(v *RetryPolicySettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
- func (s *AdvancedSettingForUpdateRouteInput) SetTimeoutSetting(v *TimeoutSettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
- func (s *AdvancedSettingForUpdateRouteInput) SetURLRewriteSetting(v *URLRewriteSettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
- func (s AdvancedSettingForUpdateRouteInput) String() string
- type AllowOriginForCreateRouteInput
- func (s AllowOriginForCreateRouteInput) GoString() string
- func (s *AllowOriginForCreateRouteInput) SetMatchType(v string) *AllowOriginForCreateRouteInput
- func (s *AllowOriginForCreateRouteInput) SetValue(v string) *AllowOriginForCreateRouteInput
- func (s AllowOriginForCreateRouteInput) String() string
- type AllowOriginForGetRouteOutput
- type AllowOriginForListRoutesOutput
- func (s AllowOriginForListRoutesOutput) GoString() string
- func (s *AllowOriginForListRoutesOutput) SetMatchType(v string) *AllowOriginForListRoutesOutput
- func (s *AllowOriginForListRoutesOutput) SetValue(v string) *AllowOriginForListRoutesOutput
- func (s AllowOriginForListRoutesOutput) String() string
- type AllowOriginForUpdateRouteInput
- func (s AllowOriginForUpdateRouteInput) GoString() string
- func (s *AllowOriginForUpdateRouteInput) SetMatchType(v string) *AllowOriginForUpdateRouteInput
- func (s *AllowOriginForUpdateRouteInput) SetValue(v string) *AllowOriginForUpdateRouteInput
- func (s AllowOriginForUpdateRouteInput) String() string
- type CorsPolicySettingForCreateRouteInput
- func (s CorsPolicySettingForCreateRouteInput) GoString() string
- func (s *CorsPolicySettingForCreateRouteInput) SetAllowCredentials(v bool) *CorsPolicySettingForCreateRouteInput
- func (s *CorsPolicySettingForCreateRouteInput) SetAllowHeaders(v []*string) *CorsPolicySettingForCreateRouteInput
- func (s *CorsPolicySettingForCreateRouteInput) SetAllowMethods(v []*string) *CorsPolicySettingForCreateRouteInput
- func (s *CorsPolicySettingForCreateRouteInput) SetAllowOrigins(v []*AllowOriginForCreateRouteInput) *CorsPolicySettingForCreateRouteInput
- func (s *CorsPolicySettingForCreateRouteInput) SetEnable(v bool) *CorsPolicySettingForCreateRouteInput
- func (s *CorsPolicySettingForCreateRouteInput) SetExposeHeaders(v []*string) *CorsPolicySettingForCreateRouteInput
- func (s *CorsPolicySettingForCreateRouteInput) SetMaxAge(v int64) *CorsPolicySettingForCreateRouteInput
- func (s CorsPolicySettingForCreateRouteInput) String() string
- type CorsPolicySettingForGetRouteOutput
- func (s CorsPolicySettingForGetRouteOutput) GoString() string
- func (s *CorsPolicySettingForGetRouteOutput) SetAllowCredentials(v bool) *CorsPolicySettingForGetRouteOutput
- func (s *CorsPolicySettingForGetRouteOutput) SetAllowHeaders(v []*string) *CorsPolicySettingForGetRouteOutput
- func (s *CorsPolicySettingForGetRouteOutput) SetAllowMethods(v []*string) *CorsPolicySettingForGetRouteOutput
- func (s *CorsPolicySettingForGetRouteOutput) SetAllowOrigins(v []*AllowOriginForGetRouteOutput) *CorsPolicySettingForGetRouteOutput
- func (s *CorsPolicySettingForGetRouteOutput) SetEnable(v bool) *CorsPolicySettingForGetRouteOutput
- func (s *CorsPolicySettingForGetRouteOutput) SetExposeHeaders(v []*string) *CorsPolicySettingForGetRouteOutput
- func (s *CorsPolicySettingForGetRouteOutput) SetMaxAge(v int64) *CorsPolicySettingForGetRouteOutput
- func (s CorsPolicySettingForGetRouteOutput) String() string
- type CorsPolicySettingForListRoutesOutput
- func (s CorsPolicySettingForListRoutesOutput) GoString() string
- func (s *CorsPolicySettingForListRoutesOutput) SetAllowCredentials(v bool) *CorsPolicySettingForListRoutesOutput
- func (s *CorsPolicySettingForListRoutesOutput) SetAllowHeaders(v []*string) *CorsPolicySettingForListRoutesOutput
- func (s *CorsPolicySettingForListRoutesOutput) SetAllowMethods(v []*string) *CorsPolicySettingForListRoutesOutput
- func (s *CorsPolicySettingForListRoutesOutput) SetAllowOrigins(v []*AllowOriginForListRoutesOutput) *CorsPolicySettingForListRoutesOutput
- func (s *CorsPolicySettingForListRoutesOutput) SetEnable(v bool) *CorsPolicySettingForListRoutesOutput
- func (s *CorsPolicySettingForListRoutesOutput) SetExposeHeaders(v []*string) *CorsPolicySettingForListRoutesOutput
- func (s *CorsPolicySettingForListRoutesOutput) SetMaxAge(v int64) *CorsPolicySettingForListRoutesOutput
- func (s CorsPolicySettingForListRoutesOutput) String() string
- type CorsPolicySettingForUpdateRouteInput
- func (s CorsPolicySettingForUpdateRouteInput) GoString() string
- func (s *CorsPolicySettingForUpdateRouteInput) SetAllowCredentials(v bool) *CorsPolicySettingForUpdateRouteInput
- func (s *CorsPolicySettingForUpdateRouteInput) SetAllowHeaders(v []*string) *CorsPolicySettingForUpdateRouteInput
- func (s *CorsPolicySettingForUpdateRouteInput) SetAllowMethods(v []*string) *CorsPolicySettingForUpdateRouteInput
- func (s *CorsPolicySettingForUpdateRouteInput) SetAllowOrigins(v []*AllowOriginForUpdateRouteInput) *CorsPolicySettingForUpdateRouteInput
- func (s *CorsPolicySettingForUpdateRouteInput) SetEnable(v bool) *CorsPolicySettingForUpdateRouteInput
- func (s *CorsPolicySettingForUpdateRouteInput) SetExposeHeaders(v []*string) *CorsPolicySettingForUpdateRouteInput
- func (s *CorsPolicySettingForUpdateRouteInput) SetMaxAge(v int64) *CorsPolicySettingForUpdateRouteInput
- func (s CorsPolicySettingForUpdateRouteInput) String() string
- type CreateRouteInput
- func (s CreateRouteInput) GoString() string
- func (s *CreateRouteInput) SetAdvancedSetting(v *AdvancedSettingForCreateRouteInput) *CreateRouteInput
- func (s *CreateRouteInput) SetEnable(v bool) *CreateRouteInput
- func (s *CreateRouteInput) SetFallbackSetting(v *FallbackSettingForCreateRouteInput) *CreateRouteInput
- func (s *CreateRouteInput) SetMatchRule(v *MatchRuleForCreateRouteInput) *CreateRouteInput
- func (s *CreateRouteInput) SetName(v string) *CreateRouteInput
- func (s *CreateRouteInput) SetPriority(v int64) *CreateRouteInput
- func (s *CreateRouteInput) SetServiceId(v string) *CreateRouteInput
- func (s *CreateRouteInput) SetUpstreamList(v []*UpstreamListForCreateRouteInput) *CreateRouteInput
- func (s CreateRouteInput) String() string
- func (s *CreateRouteInput) Validate() error
- type CreateRouteOutput
- type CustomDomainForGetRouteOutput
- type CustomDomainForListRoutesOutput
- func (s CustomDomainForListRoutesOutput) GoString() string
- func (s *CustomDomainForListRoutesOutput) SetDomain(v string) *CustomDomainForListRoutesOutput
- func (s *CustomDomainForListRoutesOutput) SetId(v string) *CustomDomainForListRoutesOutput
- func (s CustomDomainForListRoutesOutput) String() string
- type DeleteRouteInput
- type DeleteRouteOutput
- type DomainForGetRouteOutput
- type DomainForListRoutesOutput
- type FallbackSettingForCreateRouteInput
- func (s FallbackSettingForCreateRouteInput) GoString() string
- func (s *FallbackSettingForCreateRouteInput) SetConditions(v []*string) *FallbackSettingForCreateRouteInput
- func (s *FallbackSettingForCreateRouteInput) SetEnable(v bool) *FallbackSettingForCreateRouteInput
- func (s *FallbackSettingForCreateRouteInput) SetFallbackUpstreams(v []*FallbackUpstreamForCreateRouteInput) *FallbackSettingForCreateRouteInput
- func (s FallbackSettingForCreateRouteInput) String() string
- type FallbackSettingForGetRouteOutput
- func (s FallbackSettingForGetRouteOutput) GoString() string
- func (s *FallbackSettingForGetRouteOutput) SetConditions(v []*string) *FallbackSettingForGetRouteOutput
- func (s *FallbackSettingForGetRouteOutput) SetEnable(v bool) *FallbackSettingForGetRouteOutput
- func (s *FallbackSettingForGetRouteOutput) SetFallbackUpstreams(v []*FallbackUpstreamForGetRouteOutput) *FallbackSettingForGetRouteOutput
- func (s FallbackSettingForGetRouteOutput) String() string
- type FallbackSettingForListRoutesOutput
- func (s FallbackSettingForListRoutesOutput) GoString() string
- func (s *FallbackSettingForListRoutesOutput) SetConditions(v []*string) *FallbackSettingForListRoutesOutput
- func (s *FallbackSettingForListRoutesOutput) SetEnable(v bool) *FallbackSettingForListRoutesOutput
- func (s *FallbackSettingForListRoutesOutput) SetFallbackUpstreams(v []*FallbackUpstreamForListRoutesOutput) *FallbackSettingForListRoutesOutput
- func (s FallbackSettingForListRoutesOutput) String() string
- type FallbackSettingForUpdateRouteInput
- func (s FallbackSettingForUpdateRouteInput) GoString() string
- func (s *FallbackSettingForUpdateRouteInput) SetConditions(v []*string) *FallbackSettingForUpdateRouteInput
- func (s *FallbackSettingForUpdateRouteInput) SetEnable(v bool) *FallbackSettingForUpdateRouteInput
- func (s *FallbackSettingForUpdateRouteInput) SetFallbackUpstreams(v []*FallbackUpstreamForUpdateRouteInput) *FallbackSettingForUpdateRouteInput
- func (s FallbackSettingForUpdateRouteInput) String() string
- type FallbackUpstreamForCreateRouteInput
- func (s FallbackUpstreamForCreateRouteInput) GoString() string
- func (s *FallbackUpstreamForCreateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForCreateRouteInput) *FallbackUpstreamForCreateRouteInput
- func (s *FallbackUpstreamForCreateRouteInput) SetUpstreamId(v string) *FallbackUpstreamForCreateRouteInput
- func (s *FallbackUpstreamForCreateRouteInput) SetVersion(v string) *FallbackUpstreamForCreateRouteInput
- func (s *FallbackUpstreamForCreateRouteInput) SetWeight(v int32) *FallbackUpstreamForCreateRouteInput
- func (s FallbackUpstreamForCreateRouteInput) String() string
- type FallbackUpstreamForGetRouteOutput
- func (s FallbackUpstreamForGetRouteOutput) GoString() string
- func (s *FallbackUpstreamForGetRouteOutput) SetAIProviderSettings(v *AIProviderSettingsForGetRouteOutput) *FallbackUpstreamForGetRouteOutput
- func (s *FallbackUpstreamForGetRouteOutput) SetUpstreamId(v string) *FallbackUpstreamForGetRouteOutput
- func (s *FallbackUpstreamForGetRouteOutput) SetVersion(v string) *FallbackUpstreamForGetRouteOutput
- func (s *FallbackUpstreamForGetRouteOutput) SetWeight(v int32) *FallbackUpstreamForGetRouteOutput
- func (s FallbackUpstreamForGetRouteOutput) String() string
- type FallbackUpstreamForListRoutesOutput
- func (s FallbackUpstreamForListRoutesOutput) GoString() string
- func (s *FallbackUpstreamForListRoutesOutput) SetAIProviderSettings(v *AIProviderSettingsForListRoutesOutput) *FallbackUpstreamForListRoutesOutput
- func (s *FallbackUpstreamForListRoutesOutput) SetUpstreamId(v string) *FallbackUpstreamForListRoutesOutput
- func (s *FallbackUpstreamForListRoutesOutput) SetVersion(v string) *FallbackUpstreamForListRoutesOutput
- func (s *FallbackUpstreamForListRoutesOutput) SetWeight(v int32) *FallbackUpstreamForListRoutesOutput
- func (s FallbackUpstreamForListRoutesOutput) String() string
- type FallbackUpstreamForUpdateRouteInput
- func (s FallbackUpstreamForUpdateRouteInput) GoString() string
- func (s *FallbackUpstreamForUpdateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForUpdateRouteInput) *FallbackUpstreamForUpdateRouteInput
- func (s *FallbackUpstreamForUpdateRouteInput) SetUpstreamId(v string) *FallbackUpstreamForUpdateRouteInput
- func (s *FallbackUpstreamForUpdateRouteInput) SetVersion(v string) *FallbackUpstreamForUpdateRouteInput
- func (s *FallbackUpstreamForUpdateRouteInput) SetWeight(v int32) *FallbackUpstreamForUpdateRouteInput
- func (s FallbackUpstreamForUpdateRouteInput) String() string
- type FilterForListRoutesInput
- func (s FilterForListRoutesInput) GoString() string
- func (s *FilterForListRoutesInput) SetName(v string) *FilterForListRoutesInput
- func (s *FilterForListRoutesInput) SetPath(v string) *FilterForListRoutesInput
- func (s *FilterForListRoutesInput) SetUpstreamIds(v []*string) *FilterForListRoutesInput
- func (s FilterForListRoutesInput) String() string
- type GetRouteInput
- type GetRouteOutput
- type HeaderForCreateRouteInput
- type HeaderForGetRouteOutput
- type HeaderForListRoutesOutput
- type HeaderForUpdateRouteInput
- type HeaderOperationForCreateRouteInput
- func (s HeaderOperationForCreateRouteInput) GoString() string
- func (s *HeaderOperationForCreateRouteInput) SetKey(v string) *HeaderOperationForCreateRouteInput
- func (s *HeaderOperationForCreateRouteInput) SetOperation(v string) *HeaderOperationForCreateRouteInput
- func (s *HeaderOperationForCreateRouteInput) SetValue(v string) *HeaderOperationForCreateRouteInput
- func (s HeaderOperationForCreateRouteInput) String() string
- type HeaderOperationForGetRouteOutput
- func (s HeaderOperationForGetRouteOutput) GoString() string
- func (s *HeaderOperationForGetRouteOutput) SetKey(v string) *HeaderOperationForGetRouteOutput
- func (s *HeaderOperationForGetRouteOutput) SetOperation(v string) *HeaderOperationForGetRouteOutput
- func (s *HeaderOperationForGetRouteOutput) SetValue(v string) *HeaderOperationForGetRouteOutput
- func (s HeaderOperationForGetRouteOutput) String() string
- type HeaderOperationForListRoutesOutput
- func (s HeaderOperationForListRoutesOutput) GoString() string
- func (s *HeaderOperationForListRoutesOutput) SetKey(v string) *HeaderOperationForListRoutesOutput
- func (s *HeaderOperationForListRoutesOutput) SetOperation(v string) *HeaderOperationForListRoutesOutput
- func (s *HeaderOperationForListRoutesOutput) SetValue(v string) *HeaderOperationForListRoutesOutput
- func (s HeaderOperationForListRoutesOutput) String() string
- type HeaderOperationForUpdateRouteInput
- func (s HeaderOperationForUpdateRouteInput) GoString() string
- func (s *HeaderOperationForUpdateRouteInput) SetKey(v string) *HeaderOperationForUpdateRouteInput
- func (s *HeaderOperationForUpdateRouteInput) SetOperation(v string) *HeaderOperationForUpdateRouteInput
- func (s *HeaderOperationForUpdateRouteInput) SetValue(v string) *HeaderOperationForUpdateRouteInput
- func (s HeaderOperationForUpdateRouteInput) String() string
- type ItemForListRoutesOutput
- func (s ItemForListRoutesOutput) GoString() string
- func (s *ItemForListRoutesOutput) SetAdvancedSetting(v *AdvancedSettingForListRoutesOutput) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetCreateTime(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetCustomDomains(v []*CustomDomainForListRoutesOutput) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetDomains(v []*DomainForListRoutesOutput) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetEnable(v bool) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetFallbackSetting(v *FallbackSettingForListRoutesOutput) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetId(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetMatchRule(v *MatchRuleForListRoutesOutput) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetName(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetPriority(v int64) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetReason(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetServiceId(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetServiceName(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetStatus(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetUpdateTime(v string) *ItemForListRoutesOutput
- func (s *ItemForListRoutesOutput) SetUpstreamList(v []*UpstreamListForListRoutesOutput) *ItemForListRoutesOutput
- func (s ItemForListRoutesOutput) String() string
- type ListRoutesInput
- func (s ListRoutesInput) GoString() string
- func (s *ListRoutesInput) SetFilter(v *FilterForListRoutesInput) *ListRoutesInput
- func (s *ListRoutesInput) SetGatewayId(v string) *ListRoutesInput
- func (s *ListRoutesInput) SetPageNumber(v int64) *ListRoutesInput
- func (s *ListRoutesInput) SetPageSize(v int64) *ListRoutesInput
- func (s *ListRoutesInput) SetServiceId(v string) *ListRoutesInput
- func (s *ListRoutesInput) SetUpstreamId(v string) *ListRoutesInput
- func (s *ListRoutesInput) SetUpstreamVersion(v string) *ListRoutesInput
- func (s ListRoutesInput) String() string
- type ListRoutesOutput
- type MatchRuleForCreateRouteInput
- func (s MatchRuleForCreateRouteInput) GoString() string
- func (s *MatchRuleForCreateRouteInput) SetHeader(v []*HeaderForCreateRouteInput) *MatchRuleForCreateRouteInput
- func (s *MatchRuleForCreateRouteInput) SetMethod(v []*string) *MatchRuleForCreateRouteInput
- func (s *MatchRuleForCreateRouteInput) SetPath(v *PathForCreateRouteInput) *MatchRuleForCreateRouteInput
- func (s *MatchRuleForCreateRouteInput) SetQueryString(v []*QueryStringForCreateRouteInput) *MatchRuleForCreateRouteInput
- func (s MatchRuleForCreateRouteInput) String() string
- type MatchRuleForGetRouteOutput
- func (s MatchRuleForGetRouteOutput) GoString() string
- func (s *MatchRuleForGetRouteOutput) SetHeader(v []*HeaderForGetRouteOutput) *MatchRuleForGetRouteOutput
- func (s *MatchRuleForGetRouteOutput) SetMethod(v []*string) *MatchRuleForGetRouteOutput
- func (s *MatchRuleForGetRouteOutput) SetPath(v *PathForGetRouteOutput) *MatchRuleForGetRouteOutput
- func (s *MatchRuleForGetRouteOutput) SetQueryString(v []*QueryStringForGetRouteOutput) *MatchRuleForGetRouteOutput
- func (s MatchRuleForGetRouteOutput) String() string
- type MatchRuleForListRoutesOutput
- func (s MatchRuleForListRoutesOutput) GoString() string
- func (s *MatchRuleForListRoutesOutput) SetHeader(v []*HeaderForListRoutesOutput) *MatchRuleForListRoutesOutput
- func (s *MatchRuleForListRoutesOutput) SetMethod(v []*string) *MatchRuleForListRoutesOutput
- func (s *MatchRuleForListRoutesOutput) SetPath(v *PathForListRoutesOutput) *MatchRuleForListRoutesOutput
- func (s *MatchRuleForListRoutesOutput) SetQueryString(v []*QueryStringForListRoutesOutput) *MatchRuleForListRoutesOutput
- func (s MatchRuleForListRoutesOutput) String() string
- type MatchRuleForUpdateRouteInput
- func (s MatchRuleForUpdateRouteInput) GoString() string
- func (s *MatchRuleForUpdateRouteInput) SetHeader(v []*HeaderForUpdateRouteInput) *MatchRuleForUpdateRouteInput
- func (s *MatchRuleForUpdateRouteInput) SetMethod(v []*string) *MatchRuleForUpdateRouteInput
- func (s *MatchRuleForUpdateRouteInput) SetPath(v *PathForUpdateRouteInput) *MatchRuleForUpdateRouteInput
- func (s *MatchRuleForUpdateRouteInput) SetQueryString(v []*QueryStringForUpdateRouteInput) *MatchRuleForUpdateRouteInput
- func (s MatchRuleForUpdateRouteInput) String() string
- type MirrorPolicyForCreateRouteInput
- func (s MirrorPolicyForCreateRouteInput) GoString() string
- func (s *MirrorPolicyForCreateRouteInput) SetPercent(v *PercentForCreateRouteInput) *MirrorPolicyForCreateRouteInput
- func (s *MirrorPolicyForCreateRouteInput) SetUpstream(v *UpstreamForCreateRouteInput) *MirrorPolicyForCreateRouteInput
- func (s MirrorPolicyForCreateRouteInput) String() string
- type MirrorPolicyForGetRouteOutput
- func (s MirrorPolicyForGetRouteOutput) GoString() string
- func (s *MirrorPolicyForGetRouteOutput) SetPercent(v *PercentForGetRouteOutput) *MirrorPolicyForGetRouteOutput
- func (s *MirrorPolicyForGetRouteOutput) SetUpstream(v *UpstreamForGetRouteOutput) *MirrorPolicyForGetRouteOutput
- func (s MirrorPolicyForGetRouteOutput) String() string
- type MirrorPolicyForListRoutesOutput
- func (s MirrorPolicyForListRoutesOutput) GoString() string
- func (s *MirrorPolicyForListRoutesOutput) SetPercent(v *PercentForListRoutesOutput) *MirrorPolicyForListRoutesOutput
- func (s *MirrorPolicyForListRoutesOutput) SetUpstream(v *UpstreamForListRoutesOutput) *MirrorPolicyForListRoutesOutput
- func (s MirrorPolicyForListRoutesOutput) String() string
- type MirrorPolicyForUpdateRouteInput
- func (s MirrorPolicyForUpdateRouteInput) GoString() string
- func (s *MirrorPolicyForUpdateRouteInput) SetPercent(v *PercentForUpdateRouteInput) *MirrorPolicyForUpdateRouteInput
- func (s *MirrorPolicyForUpdateRouteInput) SetUpstream(v *UpstreamForUpdateRouteInput) *MirrorPolicyForUpdateRouteInput
- func (s MirrorPolicyForUpdateRouteInput) String() string
- type PathForCreateRouteInput
- type PathForGetRouteOutput
- type PathForListRoutesOutput
- type PathForUpdateRouteInput
- type PercentForCreateRouteInput
- type PercentForGetRouteOutput
- type PercentForListRoutesOutput
- type PercentForUpdateRouteInput
- type QueryStringForCreateRouteInput
- func (s QueryStringForCreateRouteInput) GoString() string
- func (s *QueryStringForCreateRouteInput) SetKey(v string) *QueryStringForCreateRouteInput
- func (s *QueryStringForCreateRouteInput) SetValue(v *PathForCreateRouteInput) *QueryStringForCreateRouteInput
- func (s QueryStringForCreateRouteInput) String() string
- type QueryStringForGetRouteOutput
- type QueryStringForListRoutesOutput
- func (s QueryStringForListRoutesOutput) GoString() string
- func (s *QueryStringForListRoutesOutput) SetKey(v string) *QueryStringForListRoutesOutput
- func (s *QueryStringForListRoutesOutput) SetValue(v *PathForListRoutesOutput) *QueryStringForListRoutesOutput
- func (s QueryStringForListRoutesOutput) String() string
- type QueryStringForUpdateRouteInput
- func (s QueryStringForUpdateRouteInput) GoString() string
- func (s *QueryStringForUpdateRouteInput) SetKey(v string) *QueryStringForUpdateRouteInput
- func (s *QueryStringForUpdateRouteInput) SetValue(v *PathForUpdateRouteInput) *QueryStringForUpdateRouteInput
- func (s QueryStringForUpdateRouteInput) String() string
- type RetryPolicySettingForCreateRouteInput
- func (s RetryPolicySettingForCreateRouteInput) GoString() string
- func (s *RetryPolicySettingForCreateRouteInput) SetAttempts(v int64) *RetryPolicySettingForCreateRouteInput
- func (s *RetryPolicySettingForCreateRouteInput) SetEnable(v bool) *RetryPolicySettingForCreateRouteInput
- func (s *RetryPolicySettingForCreateRouteInput) SetHttpCodes(v []*string) *RetryPolicySettingForCreateRouteInput
- func (s *RetryPolicySettingForCreateRouteInput) SetPerTryTimeout(v int64) *RetryPolicySettingForCreateRouteInput
- func (s *RetryPolicySettingForCreateRouteInput) SetRetryOn(v []*string) *RetryPolicySettingForCreateRouteInput
- func (s RetryPolicySettingForCreateRouteInput) String() string
- type RetryPolicySettingForGetRouteOutput
- func (s RetryPolicySettingForGetRouteOutput) GoString() string
- func (s *RetryPolicySettingForGetRouteOutput) SetAttempts(v int64) *RetryPolicySettingForGetRouteOutput
- func (s *RetryPolicySettingForGetRouteOutput) SetEnable(v bool) *RetryPolicySettingForGetRouteOutput
- func (s *RetryPolicySettingForGetRouteOutput) SetHttpCodes(v []*string) *RetryPolicySettingForGetRouteOutput
- func (s *RetryPolicySettingForGetRouteOutput) SetPerTryTimeout(v int64) *RetryPolicySettingForGetRouteOutput
- func (s *RetryPolicySettingForGetRouteOutput) SetRetryOn(v []*string) *RetryPolicySettingForGetRouteOutput
- func (s RetryPolicySettingForGetRouteOutput) String() string
- type RetryPolicySettingForListRoutesOutput
- func (s RetryPolicySettingForListRoutesOutput) GoString() string
- func (s *RetryPolicySettingForListRoutesOutput) SetAttempts(v int64) *RetryPolicySettingForListRoutesOutput
- func (s *RetryPolicySettingForListRoutesOutput) SetEnable(v bool) *RetryPolicySettingForListRoutesOutput
- func (s *RetryPolicySettingForListRoutesOutput) SetHttpCodes(v []*string) *RetryPolicySettingForListRoutesOutput
- func (s *RetryPolicySettingForListRoutesOutput) SetPerTryTimeout(v int64) *RetryPolicySettingForListRoutesOutput
- func (s *RetryPolicySettingForListRoutesOutput) SetRetryOn(v []*string) *RetryPolicySettingForListRoutesOutput
- func (s RetryPolicySettingForListRoutesOutput) String() string
- type RetryPolicySettingForUpdateRouteInput
- func (s RetryPolicySettingForUpdateRouteInput) GoString() string
- func (s *RetryPolicySettingForUpdateRouteInput) SetAttempts(v int64) *RetryPolicySettingForUpdateRouteInput
- func (s *RetryPolicySettingForUpdateRouteInput) SetEnable(v bool) *RetryPolicySettingForUpdateRouteInput
- func (s *RetryPolicySettingForUpdateRouteInput) SetHttpCodes(v []*string) *RetryPolicySettingForUpdateRouteInput
- func (s *RetryPolicySettingForUpdateRouteInput) SetPerTryTimeout(v int64) *RetryPolicySettingForUpdateRouteInput
- func (s *RetryPolicySettingForUpdateRouteInput) SetRetryOn(v []*string) *RetryPolicySettingForUpdateRouteInput
- func (s RetryPolicySettingForUpdateRouteInput) String() string
- type RouteForGetRouteOutput
- func (s RouteForGetRouteOutput) GoString() string
- func (s *RouteForGetRouteOutput) SetAdvancedSetting(v *AdvancedSettingForGetRouteOutput) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetCreateTime(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetCustomDomains(v []*CustomDomainForGetRouteOutput) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetDomains(v []*DomainForGetRouteOutput) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetEnable(v bool) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetFallbackSetting(v *FallbackSettingForGetRouteOutput) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetId(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetMatchRule(v *MatchRuleForGetRouteOutput) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetName(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetPriority(v int64) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetReason(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetServiceId(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetServiceName(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetStatus(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetUpdateTime(v string) *RouteForGetRouteOutput
- func (s *RouteForGetRouteOutput) SetUpstreamList(v []*UpstreamListForGetRouteOutput) *RouteForGetRouteOutput
- func (s RouteForGetRouteOutput) String() string
- type TimeoutSettingForCreateRouteInput
- func (s TimeoutSettingForCreateRouteInput) GoString() string
- func (s *TimeoutSettingForCreateRouteInput) SetEnable(v bool) *TimeoutSettingForCreateRouteInput
- func (s *TimeoutSettingForCreateRouteInput) SetTimeout(v int64) *TimeoutSettingForCreateRouteInput
- func (s TimeoutSettingForCreateRouteInput) String() string
- type TimeoutSettingForGetRouteOutput
- func (s TimeoutSettingForGetRouteOutput) GoString() string
- func (s *TimeoutSettingForGetRouteOutput) SetEnable(v bool) *TimeoutSettingForGetRouteOutput
- func (s *TimeoutSettingForGetRouteOutput) SetTimeout(v int64) *TimeoutSettingForGetRouteOutput
- func (s TimeoutSettingForGetRouteOutput) String() string
- type TimeoutSettingForListRoutesOutput
- func (s TimeoutSettingForListRoutesOutput) GoString() string
- func (s *TimeoutSettingForListRoutesOutput) SetEnable(v bool) *TimeoutSettingForListRoutesOutput
- func (s *TimeoutSettingForListRoutesOutput) SetTimeout(v int64) *TimeoutSettingForListRoutesOutput
- func (s TimeoutSettingForListRoutesOutput) String() string
- type TimeoutSettingForUpdateRouteInput
- func (s TimeoutSettingForUpdateRouteInput) GoString() string
- func (s *TimeoutSettingForUpdateRouteInput) SetEnable(v bool) *TimeoutSettingForUpdateRouteInput
- func (s *TimeoutSettingForUpdateRouteInput) SetTimeout(v int64) *TimeoutSettingForUpdateRouteInput
- func (s TimeoutSettingForUpdateRouteInput) String() string
- type URLRewriteSettingForCreateRouteInput
- func (s URLRewriteSettingForCreateRouteInput) GoString() string
- func (s *URLRewriteSettingForCreateRouteInput) SetEnable(v bool) *URLRewriteSettingForCreateRouteInput
- func (s *URLRewriteSettingForCreateRouteInput) SetURLRewrite(v string) *URLRewriteSettingForCreateRouteInput
- func (s URLRewriteSettingForCreateRouteInput) String() string
- type URLRewriteSettingForGetRouteOutput
- func (s URLRewriteSettingForGetRouteOutput) GoString() string
- func (s *URLRewriteSettingForGetRouteOutput) SetEnable(v bool) *URLRewriteSettingForGetRouteOutput
- func (s *URLRewriteSettingForGetRouteOutput) SetURLRewrite(v string) *URLRewriteSettingForGetRouteOutput
- func (s URLRewriteSettingForGetRouteOutput) String() string
- type URLRewriteSettingForListRoutesOutput
- func (s URLRewriteSettingForListRoutesOutput) GoString() string
- func (s *URLRewriteSettingForListRoutesOutput) SetEnable(v bool) *URLRewriteSettingForListRoutesOutput
- func (s *URLRewriteSettingForListRoutesOutput) SetURLRewrite(v string) *URLRewriteSettingForListRoutesOutput
- func (s URLRewriteSettingForListRoutesOutput) String() string
- type URLRewriteSettingForUpdateRouteInput
- func (s URLRewriteSettingForUpdateRouteInput) GoString() string
- func (s *URLRewriteSettingForUpdateRouteInput) SetEnable(v bool) *URLRewriteSettingForUpdateRouteInput
- func (s *URLRewriteSettingForUpdateRouteInput) SetURLRewrite(v string) *URLRewriteSettingForUpdateRouteInput
- func (s URLRewriteSettingForUpdateRouteInput) String() string
- type UpdateRouteInput
- func (s UpdateRouteInput) GoString() string
- func (s *UpdateRouteInput) SetAdvancedSetting(v *AdvancedSettingForUpdateRouteInput) *UpdateRouteInput
- func (s *UpdateRouteInput) SetEnable(v bool) *UpdateRouteInput
- func (s *UpdateRouteInput) SetFallbackSetting(v *FallbackSettingForUpdateRouteInput) *UpdateRouteInput
- func (s *UpdateRouteInput) SetId(v string) *UpdateRouteInput
- func (s *UpdateRouteInput) SetMatchRule(v *MatchRuleForUpdateRouteInput) *UpdateRouteInput
- func (s *UpdateRouteInput) SetName(v string) *UpdateRouteInput
- func (s *UpdateRouteInput) SetPriority(v int64) *UpdateRouteInput
- func (s *UpdateRouteInput) SetUpstreamList(v []*UpstreamListForUpdateRouteInput) *UpdateRouteInput
- func (s UpdateRouteInput) String() string
- func (s *UpdateRouteInput) Validate() error
- type UpdateRouteOutput
- type UpstreamForCreateRouteInput
- func (s UpstreamForCreateRouteInput) GoString() string
- func (s *UpstreamForCreateRouteInput) SetType(v string) *UpstreamForCreateRouteInput
- func (s *UpstreamForCreateRouteInput) SetUpstreamId(v string) *UpstreamForCreateRouteInput
- func (s *UpstreamForCreateRouteInput) SetVersion(v string) *UpstreamForCreateRouteInput
- func (s UpstreamForCreateRouteInput) String() string
- type UpstreamForGetRouteOutput
- func (s UpstreamForGetRouteOutput) GoString() string
- func (s *UpstreamForGetRouteOutput) SetType(v string) *UpstreamForGetRouteOutput
- func (s *UpstreamForGetRouteOutput) SetUpstreamId(v string) *UpstreamForGetRouteOutput
- func (s *UpstreamForGetRouteOutput) SetVersion(v string) *UpstreamForGetRouteOutput
- func (s UpstreamForGetRouteOutput) String() string
- type UpstreamForListRoutesOutput
- func (s UpstreamForListRoutesOutput) GoString() string
- func (s *UpstreamForListRoutesOutput) SetType(v string) *UpstreamForListRoutesOutput
- func (s *UpstreamForListRoutesOutput) SetUpstreamId(v string) *UpstreamForListRoutesOutput
- func (s *UpstreamForListRoutesOutput) SetVersion(v string) *UpstreamForListRoutesOutput
- func (s UpstreamForListRoutesOutput) String() string
- type UpstreamForUpdateRouteInput
- func (s UpstreamForUpdateRouteInput) GoString() string
- func (s *UpstreamForUpdateRouteInput) SetType(v string) *UpstreamForUpdateRouteInput
- func (s *UpstreamForUpdateRouteInput) SetUpstreamId(v string) *UpstreamForUpdateRouteInput
- func (s *UpstreamForUpdateRouteInput) SetVersion(v string) *UpstreamForUpdateRouteInput
- func (s UpstreamForUpdateRouteInput) String() string
- type UpstreamListForCreateRouteInput
- func (s UpstreamListForCreateRouteInput) GoString() string
- func (s *UpstreamListForCreateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForCreateRouteInput) *UpstreamListForCreateRouteInput
- func (s *UpstreamListForCreateRouteInput) SetUpstreamId(v string) *UpstreamListForCreateRouteInput
- func (s *UpstreamListForCreateRouteInput) SetVersion(v string) *UpstreamListForCreateRouteInput
- func (s *UpstreamListForCreateRouteInput) SetWeight(v int32) *UpstreamListForCreateRouteInput
- func (s UpstreamListForCreateRouteInput) String() string
- type UpstreamListForGetRouteOutput
- func (s UpstreamListForGetRouteOutput) GoString() string
- func (s *UpstreamListForGetRouteOutput) SetAIProviderSettings(v *AIProviderSettingsForGetRouteOutput) *UpstreamListForGetRouteOutput
- func (s *UpstreamListForGetRouteOutput) SetUpstreamId(v string) *UpstreamListForGetRouteOutput
- func (s *UpstreamListForGetRouteOutput) SetVersion(v string) *UpstreamListForGetRouteOutput
- func (s *UpstreamListForGetRouteOutput) SetWeight(v int32) *UpstreamListForGetRouteOutput
- func (s UpstreamListForGetRouteOutput) String() string
- type UpstreamListForListRoutesOutput
- func (s UpstreamListForListRoutesOutput) GoString() string
- func (s *UpstreamListForListRoutesOutput) SetAIProviderSettings(v *AIProviderSettingsForListRoutesOutput) *UpstreamListForListRoutesOutput
- func (s *UpstreamListForListRoutesOutput) SetUpstreamId(v string) *UpstreamListForListRoutesOutput
- func (s *UpstreamListForListRoutesOutput) SetVersion(v string) *UpstreamListForListRoutesOutput
- func (s *UpstreamListForListRoutesOutput) SetWeight(v int32) *UpstreamListForListRoutesOutput
- func (s UpstreamListForListRoutesOutput) String() string
- type UpstreamListForUpdateRouteInput
- func (s UpstreamListForUpdateRouteInput) GoString() string
- func (s *UpstreamListForUpdateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForUpdateRouteInput) *UpstreamListForUpdateRouteInput
- func (s *UpstreamListForUpdateRouteInput) SetUpstreamId(v string) *UpstreamListForUpdateRouteInput
- func (s *UpstreamListForUpdateRouteInput) SetVersion(v string) *UpstreamListForUpdateRouteInput
- func (s *UpstreamListForUpdateRouteInput) SetWeight(v int32) *UpstreamListForUpdateRouteInput
- func (s UpstreamListForUpdateRouteInput) String() string
- type ValueForCreateRouteInput
- type ValueForGetRouteOutput
- type ValueForListRoutesOutput
- type ValueForUpdateRouteInput
Constants ¶
const ( ServiceName = "apig" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "apig" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIProviderSettingsForCreateRouteInput ¶
type AIProviderSettingsForCreateRouteInput struct {
Model *string `type:"string" json:",omitempty"`
TargetPath *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AIProviderSettingsForCreateRouteInput) GoString ¶
func (s AIProviderSettingsForCreateRouteInput) GoString() string
GoString returns the string representation
func (*AIProviderSettingsForCreateRouteInput) SetModel ¶
func (s *AIProviderSettingsForCreateRouteInput) SetModel(v string) *AIProviderSettingsForCreateRouteInput
SetModel sets the Model field's value.
func (*AIProviderSettingsForCreateRouteInput) SetTargetPath ¶
func (s *AIProviderSettingsForCreateRouteInput) SetTargetPath(v string) *AIProviderSettingsForCreateRouteInput
SetTargetPath sets the TargetPath field's value.
func (AIProviderSettingsForCreateRouteInput) String ¶
func (s AIProviderSettingsForCreateRouteInput) String() string
String returns the string representation
type AIProviderSettingsForGetRouteOutput ¶
type AIProviderSettingsForGetRouteOutput struct {
Model *string `type:"string" json:",omitempty"`
TargetPath *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AIProviderSettingsForGetRouteOutput) GoString ¶
func (s AIProviderSettingsForGetRouteOutput) GoString() string
GoString returns the string representation
func (*AIProviderSettingsForGetRouteOutput) SetModel ¶
func (s *AIProviderSettingsForGetRouteOutput) SetModel(v string) *AIProviderSettingsForGetRouteOutput
SetModel sets the Model field's value.
func (*AIProviderSettingsForGetRouteOutput) SetTargetPath ¶
func (s *AIProviderSettingsForGetRouteOutput) SetTargetPath(v string) *AIProviderSettingsForGetRouteOutput
SetTargetPath sets the TargetPath field's value.
func (AIProviderSettingsForGetRouteOutput) String ¶
func (s AIProviderSettingsForGetRouteOutput) String() string
String returns the string representation
type AIProviderSettingsForListRoutesOutput ¶
type AIProviderSettingsForListRoutesOutput struct {
Model *string `type:"string" json:",omitempty"`
TargetPath *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AIProviderSettingsForListRoutesOutput) GoString ¶
func (s AIProviderSettingsForListRoutesOutput) GoString() string
GoString returns the string representation
func (*AIProviderSettingsForListRoutesOutput) SetModel ¶
func (s *AIProviderSettingsForListRoutesOutput) SetModel(v string) *AIProviderSettingsForListRoutesOutput
SetModel sets the Model field's value.
func (*AIProviderSettingsForListRoutesOutput) SetTargetPath ¶
func (s *AIProviderSettingsForListRoutesOutput) SetTargetPath(v string) *AIProviderSettingsForListRoutesOutput
SetTargetPath sets the TargetPath field's value.
func (AIProviderSettingsForListRoutesOutput) String ¶
func (s AIProviderSettingsForListRoutesOutput) String() string
String returns the string representation
type AIProviderSettingsForUpdateRouteInput ¶
type AIProviderSettingsForUpdateRouteInput struct {
Model *string `type:"string" json:",omitempty"`
TargetPath *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AIProviderSettingsForUpdateRouteInput) GoString ¶
func (s AIProviderSettingsForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*AIProviderSettingsForUpdateRouteInput) SetModel ¶
func (s *AIProviderSettingsForUpdateRouteInput) SetModel(v string) *AIProviderSettingsForUpdateRouteInput
SetModel sets the Model field's value.
func (*AIProviderSettingsForUpdateRouteInput) SetTargetPath ¶
func (s *AIProviderSettingsForUpdateRouteInput) SetTargetPath(v string) *AIProviderSettingsForUpdateRouteInput
SetTargetPath sets the TargetPath field's value.
func (AIProviderSettingsForUpdateRouteInput) String ¶
func (s AIProviderSettingsForUpdateRouteInput) String() string
String returns the string representation
type APIG20221112 ¶
APIG20221112 provides the API operation methods for making requests to APIG20221112. See this package's package overview docs for details on the service.
APIG20221112 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*byteplus.Config) *APIG20221112
New create int can support ssl or region locate set
func (*APIG20221112) CreateRoute ¶
func (c *APIG20221112) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error)
CreateRoute API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation CreateRoute for usage and error information.
func (*APIG20221112) CreateRouteCommon ¶
func (c *APIG20221112) CreateRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CreateRouteCommon API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation CreateRouteCommon for usage and error information.
func (*APIG20221112) CreateRouteCommonRequest ¶
func (c *APIG20221112) CreateRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateRouteCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateRouteCommon operation. The "output" return value will be populated with the CreateRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateRouteCommon Request to send the API call to the service. the "output" return value is not valid until after CreateRouteCommon Send returns without error.
See CreateRouteCommon for more information on using the CreateRouteCommon API call, and error handling.
// Example sending a request using the CreateRouteCommonRequest method.
req, resp := client.CreateRouteCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) CreateRouteCommonWithContext ¶
func (c *APIG20221112) CreateRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateRouteCommonWithContext is the same as CreateRouteCommon with the addition of the ability to pass a context and additional request options.
See CreateRouteCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) CreateRouteRequest ¶
func (c *APIG20221112) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput)
CreateRouteRequest generates a "byteplus/request.Request" representing the client's request for the CreateRoute operation. The "output" return value will be populated with the CreateRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateRouteCommon Request to send the API call to the service. the "output" return value is not valid until after CreateRouteCommon Send returns without error.
See CreateRoute for more information on using the CreateRoute API call, and error handling.
// Example sending a request using the CreateRouteRequest method.
req, resp := client.CreateRouteRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) CreateRouteWithContext ¶
func (c *APIG20221112) CreateRouteWithContext(ctx byteplus.Context, input *CreateRouteInput, opts ...request.Option) (*CreateRouteOutput, error)
CreateRouteWithContext is the same as CreateRoute with the addition of the ability to pass a context and additional request options.
See CreateRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) DeleteRoute ¶
func (c *APIG20221112) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error)
DeleteRoute API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation DeleteRoute for usage and error information.
func (*APIG20221112) DeleteRouteCommon ¶
func (c *APIG20221112) DeleteRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteRouteCommon API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation DeleteRouteCommon for usage and error information.
func (*APIG20221112) DeleteRouteCommonRequest ¶
func (c *APIG20221112) DeleteRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteRouteCommonRequest generates a "byteplus/request.Request" representing the client's request for the DeleteRouteCommon operation. The "output" return value will be populated with the DeleteRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteRouteCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteRouteCommon Send returns without error.
See DeleteRouteCommon for more information on using the DeleteRouteCommon API call, and error handling.
// Example sending a request using the DeleteRouteCommonRequest method.
req, resp := client.DeleteRouteCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) DeleteRouteCommonWithContext ¶
func (c *APIG20221112) DeleteRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteRouteCommonWithContext is the same as DeleteRouteCommon with the addition of the ability to pass a context and additional request options.
See DeleteRouteCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) DeleteRouteRequest ¶
func (c *APIG20221112) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput)
DeleteRouteRequest generates a "byteplus/request.Request" representing the client's request for the DeleteRoute operation. The "output" return value will be populated with the DeleteRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteRouteCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteRouteCommon Send returns without error.
See DeleteRoute for more information on using the DeleteRoute API call, and error handling.
// Example sending a request using the DeleteRouteRequest method.
req, resp := client.DeleteRouteRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) DeleteRouteWithContext ¶
func (c *APIG20221112) DeleteRouteWithContext(ctx byteplus.Context, input *DeleteRouteInput, opts ...request.Option) (*DeleteRouteOutput, error)
DeleteRouteWithContext is the same as DeleteRoute with the addition of the ability to pass a context and additional request options.
See DeleteRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) GetRoute ¶
func (c *APIG20221112) GetRoute(input *GetRouteInput) (*GetRouteOutput, error)
GetRoute API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation GetRoute for usage and error information.
func (*APIG20221112) GetRouteCommon ¶
func (c *APIG20221112) GetRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetRouteCommon API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation GetRouteCommon for usage and error information.
func (*APIG20221112) GetRouteCommonRequest ¶
func (c *APIG20221112) GetRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetRouteCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetRouteCommon operation. The "output" return value will be populated with the GetRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned GetRouteCommon Request to send the API call to the service. the "output" return value is not valid until after GetRouteCommon Send returns without error.
See GetRouteCommon for more information on using the GetRouteCommon API call, and error handling.
// Example sending a request using the GetRouteCommonRequest method.
req, resp := client.GetRouteCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) GetRouteCommonWithContext ¶
func (c *APIG20221112) GetRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetRouteCommonWithContext is the same as GetRouteCommon with the addition of the ability to pass a context and additional request options.
See GetRouteCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) GetRouteRequest ¶
func (c *APIG20221112) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput)
GetRouteRequest generates a "byteplus/request.Request" representing the client's request for the GetRoute operation. The "output" return value will be populated with the GetRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned GetRouteCommon Request to send the API call to the service. the "output" return value is not valid until after GetRouteCommon Send returns without error.
See GetRoute for more information on using the GetRoute API call, and error handling.
// Example sending a request using the GetRouteRequest method.
req, resp := client.GetRouteRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) GetRouteWithContext ¶
func (c *APIG20221112) GetRouteWithContext(ctx byteplus.Context, input *GetRouteInput, opts ...request.Option) (*GetRouteOutput, error)
GetRouteWithContext is the same as GetRoute with the addition of the ability to pass a context and additional request options.
See GetRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) ListRoutes ¶
func (c *APIG20221112) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error)
ListRoutes API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation ListRoutes for usage and error information.
func (*APIG20221112) ListRoutesCommon ¶
func (c *APIG20221112) ListRoutesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListRoutesCommon API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation ListRoutesCommon for usage and error information.
func (*APIG20221112) ListRoutesCommonRequest ¶
func (c *APIG20221112) ListRoutesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListRoutesCommonRequest generates a "byteplus/request.Request" representing the client's request for the ListRoutesCommon operation. The "output" return value will be populated with the ListRoutesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListRoutesCommon Request to send the API call to the service. the "output" return value is not valid until after ListRoutesCommon Send returns without error.
See ListRoutesCommon for more information on using the ListRoutesCommon API call, and error handling.
// Example sending a request using the ListRoutesCommonRequest method.
req, resp := client.ListRoutesCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) ListRoutesCommonWithContext ¶
func (c *APIG20221112) ListRoutesCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListRoutesCommonWithContext is the same as ListRoutesCommon with the addition of the ability to pass a context and additional request options.
See ListRoutesCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) ListRoutesRequest ¶
func (c *APIG20221112) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput)
ListRoutesRequest generates a "byteplus/request.Request" representing the client's request for the ListRoutes operation. The "output" return value will be populated with the ListRoutesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListRoutesCommon Request to send the API call to the service. the "output" return value is not valid until after ListRoutesCommon Send returns without error.
See ListRoutes for more information on using the ListRoutes API call, and error handling.
// Example sending a request using the ListRoutesRequest method.
req, resp := client.ListRoutesRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) ListRoutesWithContext ¶
func (c *APIG20221112) ListRoutesWithContext(ctx byteplus.Context, input *ListRoutesInput, opts ...request.Option) (*ListRoutesOutput, error)
ListRoutesWithContext is the same as ListRoutes with the addition of the ability to pass a context and additional request options.
See ListRoutes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) UpdateRoute ¶
func (c *APIG20221112) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error)
UpdateRoute API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation UpdateRoute for usage and error information.
func (*APIG20221112) UpdateRouteCommon ¶
func (c *APIG20221112) UpdateRouteCommon(input *map[string]interface{}) (*map[string]interface{}, error)
UpdateRouteCommon API operation for APIG20221112.
Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.
See the BYTEPLUS API reference guide for APIG20221112's API operation UpdateRouteCommon for usage and error information.
func (*APIG20221112) UpdateRouteCommonRequest ¶
func (c *APIG20221112) UpdateRouteCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateRouteCommonRequest generates a "byteplus/request.Request" representing the client's request for the UpdateRouteCommon operation. The "output" return value will be populated with the UpdateRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateRouteCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateRouteCommon Send returns without error.
See UpdateRouteCommon for more information on using the UpdateRouteCommon API call, and error handling.
// Example sending a request using the UpdateRouteCommonRequest method.
req, resp := client.UpdateRouteCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) UpdateRouteCommonWithContext ¶
func (c *APIG20221112) UpdateRouteCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateRouteCommonWithContext is the same as UpdateRouteCommon with the addition of the ability to pass a context and additional request options.
See UpdateRouteCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*APIG20221112) UpdateRouteRequest ¶
func (c *APIG20221112) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput)
UpdateRouteRequest generates a "byteplus/request.Request" representing the client's request for the UpdateRoute operation. The "output" return value will be populated with the UpdateRouteCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateRouteCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateRouteCommon Send returns without error.
See UpdateRoute for more information on using the UpdateRoute API call, and error handling.
// Example sending a request using the UpdateRouteRequest method.
req, resp := client.UpdateRouteRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*APIG20221112) UpdateRouteWithContext ¶
func (c *APIG20221112) UpdateRouteWithContext(ctx byteplus.Context, input *UpdateRouteInput, opts ...request.Option) (*UpdateRouteOutput, error)
UpdateRouteWithContext is the same as UpdateRoute with the addition of the ability to pass a context and additional request options.
See UpdateRoute for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type APIG20221112API ¶
type APIG20221112API interface {
CreateRouteCommon(*map[string]interface{}) (*map[string]interface{}, error)
CreateRouteCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
CreateRouteCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
CreateRoute(*CreateRouteInput) (*CreateRouteOutput, error)
CreateRouteWithContext(byteplus.Context, *CreateRouteInput, ...request.Option) (*CreateRouteOutput, error)
CreateRouteRequest(*CreateRouteInput) (*request.Request, *CreateRouteOutput)
DeleteRouteCommon(*map[string]interface{}) (*map[string]interface{}, error)
DeleteRouteCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DeleteRouteCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DeleteRoute(*DeleteRouteInput) (*DeleteRouteOutput, error)
DeleteRouteWithContext(byteplus.Context, *DeleteRouteInput, ...request.Option) (*DeleteRouteOutput, error)
DeleteRouteRequest(*DeleteRouteInput) (*request.Request, *DeleteRouteOutput)
GetRouteCommon(*map[string]interface{}) (*map[string]interface{}, error)
GetRouteCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
GetRouteCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
GetRoute(*GetRouteInput) (*GetRouteOutput, error)
GetRouteWithContext(byteplus.Context, *GetRouteInput, ...request.Option) (*GetRouteOutput, error)
GetRouteRequest(*GetRouteInput) (*request.Request, *GetRouteOutput)
ListRoutesCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListRoutesCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListRoutesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListRoutes(*ListRoutesInput) (*ListRoutesOutput, error)
ListRoutesWithContext(byteplus.Context, *ListRoutesInput, ...request.Option) (*ListRoutesOutput, error)
ListRoutesRequest(*ListRoutesInput) (*request.Request, *ListRoutesOutput)
UpdateRouteCommon(*map[string]interface{}) (*map[string]interface{}, error)
UpdateRouteCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
UpdateRouteCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
UpdateRoute(*UpdateRouteInput) (*UpdateRouteOutput, error)
UpdateRouteWithContext(byteplus.Context, *UpdateRouteInput, ...request.Option) (*UpdateRouteOutput, error)
UpdateRouteRequest(*UpdateRouteInput) (*request.Request, *UpdateRouteOutput)
}
APIG20221112API provides an interface to enable mocking the apig20221112.APIG20221112 service client's API operation,
// byteplus sdk func uses an SDK service client to make a request to
// APIG20221112.
func myFunc(svc APIG20221112API) bool {
// Make svc.CreateRoute request
}
func main() {
sess := session.New()
svc := apig20221112.New(sess)
myFunc(svc)
}
type AdvancedSettingForCreateRouteInput ¶
type AdvancedSettingForCreateRouteInput struct {
CorsPolicySetting *CorsPolicySettingForCreateRouteInput `type:"structure" json:",omitempty"`
HeaderOperations []*HeaderOperationForCreateRouteInput `type:"list" json:",omitempty"`
MirrorPolicies []*MirrorPolicyForCreateRouteInput `type:"list" json:",omitempty"`
RetryPolicySetting *RetryPolicySettingForCreateRouteInput `type:"structure" json:",omitempty"`
TimeoutSetting *TimeoutSettingForCreateRouteInput `type:"structure" json:",omitempty"`
URLRewriteSetting *URLRewriteSettingForCreateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (AdvancedSettingForCreateRouteInput) GoString ¶
func (s AdvancedSettingForCreateRouteInput) GoString() string
GoString returns the string representation
func (*AdvancedSettingForCreateRouteInput) SetCorsPolicySetting ¶
func (s *AdvancedSettingForCreateRouteInput) SetCorsPolicySetting(v *CorsPolicySettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
SetCorsPolicySetting sets the CorsPolicySetting field's value.
func (*AdvancedSettingForCreateRouteInput) SetHeaderOperations ¶
func (s *AdvancedSettingForCreateRouteInput) SetHeaderOperations(v []*HeaderOperationForCreateRouteInput) *AdvancedSettingForCreateRouteInput
SetHeaderOperations sets the HeaderOperations field's value.
func (*AdvancedSettingForCreateRouteInput) SetMirrorPolicies ¶
func (s *AdvancedSettingForCreateRouteInput) SetMirrorPolicies(v []*MirrorPolicyForCreateRouteInput) *AdvancedSettingForCreateRouteInput
SetMirrorPolicies sets the MirrorPolicies field's value.
func (*AdvancedSettingForCreateRouteInput) SetRetryPolicySetting ¶
func (s *AdvancedSettingForCreateRouteInput) SetRetryPolicySetting(v *RetryPolicySettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
SetRetryPolicySetting sets the RetryPolicySetting field's value.
func (*AdvancedSettingForCreateRouteInput) SetTimeoutSetting ¶
func (s *AdvancedSettingForCreateRouteInput) SetTimeoutSetting(v *TimeoutSettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
SetTimeoutSetting sets the TimeoutSetting field's value.
func (*AdvancedSettingForCreateRouteInput) SetURLRewriteSetting ¶
func (s *AdvancedSettingForCreateRouteInput) SetURLRewriteSetting(v *URLRewriteSettingForCreateRouteInput) *AdvancedSettingForCreateRouteInput
SetURLRewriteSetting sets the URLRewriteSetting field's value.
func (AdvancedSettingForCreateRouteInput) String ¶
func (s AdvancedSettingForCreateRouteInput) String() string
String returns the string representation
type AdvancedSettingForGetRouteOutput ¶
type AdvancedSettingForGetRouteOutput struct {
CorsPolicySetting *CorsPolicySettingForGetRouteOutput `type:"structure" json:",omitempty"`
HeaderOperations []*HeaderOperationForGetRouteOutput `type:"list" json:",omitempty"`
MirrorPolicies []*MirrorPolicyForGetRouteOutput `type:"list" json:",omitempty"`
RetryPolicySetting *RetryPolicySettingForGetRouteOutput `type:"structure" json:",omitempty"`
TimeoutSetting *TimeoutSettingForGetRouteOutput `type:"structure" json:",omitempty"`
URLRewriteSetting *URLRewriteSettingForGetRouteOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (AdvancedSettingForGetRouteOutput) GoString ¶
func (s AdvancedSettingForGetRouteOutput) GoString() string
GoString returns the string representation
func (*AdvancedSettingForGetRouteOutput) SetCorsPolicySetting ¶
func (s *AdvancedSettingForGetRouteOutput) SetCorsPolicySetting(v *CorsPolicySettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
SetCorsPolicySetting sets the CorsPolicySetting field's value.
func (*AdvancedSettingForGetRouteOutput) SetHeaderOperations ¶
func (s *AdvancedSettingForGetRouteOutput) SetHeaderOperations(v []*HeaderOperationForGetRouteOutput) *AdvancedSettingForGetRouteOutput
SetHeaderOperations sets the HeaderOperations field's value.
func (*AdvancedSettingForGetRouteOutput) SetMirrorPolicies ¶
func (s *AdvancedSettingForGetRouteOutput) SetMirrorPolicies(v []*MirrorPolicyForGetRouteOutput) *AdvancedSettingForGetRouteOutput
SetMirrorPolicies sets the MirrorPolicies field's value.
func (*AdvancedSettingForGetRouteOutput) SetRetryPolicySetting ¶
func (s *AdvancedSettingForGetRouteOutput) SetRetryPolicySetting(v *RetryPolicySettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
SetRetryPolicySetting sets the RetryPolicySetting field's value.
func (*AdvancedSettingForGetRouteOutput) SetTimeoutSetting ¶
func (s *AdvancedSettingForGetRouteOutput) SetTimeoutSetting(v *TimeoutSettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
SetTimeoutSetting sets the TimeoutSetting field's value.
func (*AdvancedSettingForGetRouteOutput) SetURLRewriteSetting ¶
func (s *AdvancedSettingForGetRouteOutput) SetURLRewriteSetting(v *URLRewriteSettingForGetRouteOutput) *AdvancedSettingForGetRouteOutput
SetURLRewriteSetting sets the URLRewriteSetting field's value.
func (AdvancedSettingForGetRouteOutput) String ¶
func (s AdvancedSettingForGetRouteOutput) String() string
String returns the string representation
type AdvancedSettingForListRoutesOutput ¶
type AdvancedSettingForListRoutesOutput struct {
CorsPolicySetting *CorsPolicySettingForListRoutesOutput `type:"structure" json:",omitempty"`
HeaderOperations []*HeaderOperationForListRoutesOutput `type:"list" json:",omitempty"`
MirrorPolicies []*MirrorPolicyForListRoutesOutput `type:"list" json:",omitempty"`
RetryPolicySetting *RetryPolicySettingForListRoutesOutput `type:"structure" json:",omitempty"`
TimeoutSetting *TimeoutSettingForListRoutesOutput `type:"structure" json:",omitempty"`
URLRewriteSetting *URLRewriteSettingForListRoutesOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (AdvancedSettingForListRoutesOutput) GoString ¶
func (s AdvancedSettingForListRoutesOutput) GoString() string
GoString returns the string representation
func (*AdvancedSettingForListRoutesOutput) SetCorsPolicySetting ¶
func (s *AdvancedSettingForListRoutesOutput) SetCorsPolicySetting(v *CorsPolicySettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
SetCorsPolicySetting sets the CorsPolicySetting field's value.
func (*AdvancedSettingForListRoutesOutput) SetHeaderOperations ¶
func (s *AdvancedSettingForListRoutesOutput) SetHeaderOperations(v []*HeaderOperationForListRoutesOutput) *AdvancedSettingForListRoutesOutput
SetHeaderOperations sets the HeaderOperations field's value.
func (*AdvancedSettingForListRoutesOutput) SetMirrorPolicies ¶
func (s *AdvancedSettingForListRoutesOutput) SetMirrorPolicies(v []*MirrorPolicyForListRoutesOutput) *AdvancedSettingForListRoutesOutput
SetMirrorPolicies sets the MirrorPolicies field's value.
func (*AdvancedSettingForListRoutesOutput) SetRetryPolicySetting ¶
func (s *AdvancedSettingForListRoutesOutput) SetRetryPolicySetting(v *RetryPolicySettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
SetRetryPolicySetting sets the RetryPolicySetting field's value.
func (*AdvancedSettingForListRoutesOutput) SetTimeoutSetting ¶
func (s *AdvancedSettingForListRoutesOutput) SetTimeoutSetting(v *TimeoutSettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
SetTimeoutSetting sets the TimeoutSetting field's value.
func (*AdvancedSettingForListRoutesOutput) SetURLRewriteSetting ¶
func (s *AdvancedSettingForListRoutesOutput) SetURLRewriteSetting(v *URLRewriteSettingForListRoutesOutput) *AdvancedSettingForListRoutesOutput
SetURLRewriteSetting sets the URLRewriteSetting field's value.
func (AdvancedSettingForListRoutesOutput) String ¶
func (s AdvancedSettingForListRoutesOutput) String() string
String returns the string representation
type AdvancedSettingForUpdateRouteInput ¶
type AdvancedSettingForUpdateRouteInput struct {
CorsPolicySetting *CorsPolicySettingForUpdateRouteInput `type:"structure" json:",omitempty"`
HeaderOperations []*HeaderOperationForUpdateRouteInput `type:"list" json:",omitempty"`
MirrorPolicies []*MirrorPolicyForUpdateRouteInput `type:"list" json:",omitempty"`
RetryPolicySetting *RetryPolicySettingForUpdateRouteInput `type:"structure" json:",omitempty"`
TimeoutSetting *TimeoutSettingForUpdateRouteInput `type:"structure" json:",omitempty"`
URLRewriteSetting *URLRewriteSettingForUpdateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (AdvancedSettingForUpdateRouteInput) GoString ¶
func (s AdvancedSettingForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*AdvancedSettingForUpdateRouteInput) SetCorsPolicySetting ¶
func (s *AdvancedSettingForUpdateRouteInput) SetCorsPolicySetting(v *CorsPolicySettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
SetCorsPolicySetting sets the CorsPolicySetting field's value.
func (*AdvancedSettingForUpdateRouteInput) SetHeaderOperations ¶
func (s *AdvancedSettingForUpdateRouteInput) SetHeaderOperations(v []*HeaderOperationForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
SetHeaderOperations sets the HeaderOperations field's value.
func (*AdvancedSettingForUpdateRouteInput) SetMirrorPolicies ¶
func (s *AdvancedSettingForUpdateRouteInput) SetMirrorPolicies(v []*MirrorPolicyForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
SetMirrorPolicies sets the MirrorPolicies field's value.
func (*AdvancedSettingForUpdateRouteInput) SetRetryPolicySetting ¶
func (s *AdvancedSettingForUpdateRouteInput) SetRetryPolicySetting(v *RetryPolicySettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
SetRetryPolicySetting sets the RetryPolicySetting field's value.
func (*AdvancedSettingForUpdateRouteInput) SetTimeoutSetting ¶
func (s *AdvancedSettingForUpdateRouteInput) SetTimeoutSetting(v *TimeoutSettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
SetTimeoutSetting sets the TimeoutSetting field's value.
func (*AdvancedSettingForUpdateRouteInput) SetURLRewriteSetting ¶
func (s *AdvancedSettingForUpdateRouteInput) SetURLRewriteSetting(v *URLRewriteSettingForUpdateRouteInput) *AdvancedSettingForUpdateRouteInput
SetURLRewriteSetting sets the URLRewriteSetting field's value.
func (AdvancedSettingForUpdateRouteInput) String ¶
func (s AdvancedSettingForUpdateRouteInput) String() string
String returns the string representation
type AllowOriginForCreateRouteInput ¶
type AllowOriginForCreateRouteInput struct {
MatchType *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AllowOriginForCreateRouteInput) GoString ¶
func (s AllowOriginForCreateRouteInput) GoString() string
GoString returns the string representation
func (*AllowOriginForCreateRouteInput) SetMatchType ¶
func (s *AllowOriginForCreateRouteInput) SetMatchType(v string) *AllowOriginForCreateRouteInput
SetMatchType sets the MatchType field's value.
func (*AllowOriginForCreateRouteInput) SetValue ¶
func (s *AllowOriginForCreateRouteInput) SetValue(v string) *AllowOriginForCreateRouteInput
SetValue sets the Value field's value.
func (AllowOriginForCreateRouteInput) String ¶
func (s AllowOriginForCreateRouteInput) String() string
String returns the string representation
type AllowOriginForGetRouteOutput ¶
type AllowOriginForGetRouteOutput struct {
MatchType *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AllowOriginForGetRouteOutput) GoString ¶
func (s AllowOriginForGetRouteOutput) GoString() string
GoString returns the string representation
func (*AllowOriginForGetRouteOutput) SetMatchType ¶
func (s *AllowOriginForGetRouteOutput) SetMatchType(v string) *AllowOriginForGetRouteOutput
SetMatchType sets the MatchType field's value.
func (*AllowOriginForGetRouteOutput) SetValue ¶
func (s *AllowOriginForGetRouteOutput) SetValue(v string) *AllowOriginForGetRouteOutput
SetValue sets the Value field's value.
func (AllowOriginForGetRouteOutput) String ¶
func (s AllowOriginForGetRouteOutput) String() string
String returns the string representation
type AllowOriginForListRoutesOutput ¶
type AllowOriginForListRoutesOutput struct {
MatchType *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AllowOriginForListRoutesOutput) GoString ¶
func (s AllowOriginForListRoutesOutput) GoString() string
GoString returns the string representation
func (*AllowOriginForListRoutesOutput) SetMatchType ¶
func (s *AllowOriginForListRoutesOutput) SetMatchType(v string) *AllowOriginForListRoutesOutput
SetMatchType sets the MatchType field's value.
func (*AllowOriginForListRoutesOutput) SetValue ¶
func (s *AllowOriginForListRoutesOutput) SetValue(v string) *AllowOriginForListRoutesOutput
SetValue sets the Value field's value.
func (AllowOriginForListRoutesOutput) String ¶
func (s AllowOriginForListRoutesOutput) String() string
String returns the string representation
type AllowOriginForUpdateRouteInput ¶
type AllowOriginForUpdateRouteInput struct {
MatchType *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (AllowOriginForUpdateRouteInput) GoString ¶
func (s AllowOriginForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*AllowOriginForUpdateRouteInput) SetMatchType ¶
func (s *AllowOriginForUpdateRouteInput) SetMatchType(v string) *AllowOriginForUpdateRouteInput
SetMatchType sets the MatchType field's value.
func (*AllowOriginForUpdateRouteInput) SetValue ¶
func (s *AllowOriginForUpdateRouteInput) SetValue(v string) *AllowOriginForUpdateRouteInput
SetValue sets the Value field's value.
func (AllowOriginForUpdateRouteInput) String ¶
func (s AllowOriginForUpdateRouteInput) String() string
String returns the string representation
type CorsPolicySettingForCreateRouteInput ¶
type CorsPolicySettingForCreateRouteInput struct {
AllowCredentials *bool `type:"boolean" json:",omitempty"`
AllowHeaders []*string `type:"list" json:",omitempty"`
AllowMethods []*string `type:"list" json:",omitempty"`
AllowOrigins []*AllowOriginForCreateRouteInput `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
ExposeHeaders []*string `type:"list" json:",omitempty"`
MaxAge *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (CorsPolicySettingForCreateRouteInput) GoString ¶
func (s CorsPolicySettingForCreateRouteInput) GoString() string
GoString returns the string representation
func (*CorsPolicySettingForCreateRouteInput) SetAllowCredentials ¶
func (s *CorsPolicySettingForCreateRouteInput) SetAllowCredentials(v bool) *CorsPolicySettingForCreateRouteInput
SetAllowCredentials sets the AllowCredentials field's value.
func (*CorsPolicySettingForCreateRouteInput) SetAllowHeaders ¶
func (s *CorsPolicySettingForCreateRouteInput) SetAllowHeaders(v []*string) *CorsPolicySettingForCreateRouteInput
SetAllowHeaders sets the AllowHeaders field's value.
func (*CorsPolicySettingForCreateRouteInput) SetAllowMethods ¶
func (s *CorsPolicySettingForCreateRouteInput) SetAllowMethods(v []*string) *CorsPolicySettingForCreateRouteInput
SetAllowMethods sets the AllowMethods field's value.
func (*CorsPolicySettingForCreateRouteInput) SetAllowOrigins ¶
func (s *CorsPolicySettingForCreateRouteInput) SetAllowOrigins(v []*AllowOriginForCreateRouteInput) *CorsPolicySettingForCreateRouteInput
SetAllowOrigins sets the AllowOrigins field's value.
func (*CorsPolicySettingForCreateRouteInput) SetEnable ¶
func (s *CorsPolicySettingForCreateRouteInput) SetEnable(v bool) *CorsPolicySettingForCreateRouteInput
SetEnable sets the Enable field's value.
func (*CorsPolicySettingForCreateRouteInput) SetExposeHeaders ¶
func (s *CorsPolicySettingForCreateRouteInput) SetExposeHeaders(v []*string) *CorsPolicySettingForCreateRouteInput
SetExposeHeaders sets the ExposeHeaders field's value.
func (*CorsPolicySettingForCreateRouteInput) SetMaxAge ¶
func (s *CorsPolicySettingForCreateRouteInput) SetMaxAge(v int64) *CorsPolicySettingForCreateRouteInput
SetMaxAge sets the MaxAge field's value.
func (CorsPolicySettingForCreateRouteInput) String ¶
func (s CorsPolicySettingForCreateRouteInput) String() string
String returns the string representation
type CorsPolicySettingForGetRouteOutput ¶
type CorsPolicySettingForGetRouteOutput struct {
AllowCredentials *bool `type:"boolean" json:",omitempty"`
AllowHeaders []*string `type:"list" json:",omitempty"`
AllowMethods []*string `type:"list" json:",omitempty"`
AllowOrigins []*AllowOriginForGetRouteOutput `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
ExposeHeaders []*string `type:"list" json:",omitempty"`
MaxAge *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (CorsPolicySettingForGetRouteOutput) GoString ¶
func (s CorsPolicySettingForGetRouteOutput) GoString() string
GoString returns the string representation
func (*CorsPolicySettingForGetRouteOutput) SetAllowCredentials ¶
func (s *CorsPolicySettingForGetRouteOutput) SetAllowCredentials(v bool) *CorsPolicySettingForGetRouteOutput
SetAllowCredentials sets the AllowCredentials field's value.
func (*CorsPolicySettingForGetRouteOutput) SetAllowHeaders ¶
func (s *CorsPolicySettingForGetRouteOutput) SetAllowHeaders(v []*string) *CorsPolicySettingForGetRouteOutput
SetAllowHeaders sets the AllowHeaders field's value.
func (*CorsPolicySettingForGetRouteOutput) SetAllowMethods ¶
func (s *CorsPolicySettingForGetRouteOutput) SetAllowMethods(v []*string) *CorsPolicySettingForGetRouteOutput
SetAllowMethods sets the AllowMethods field's value.
func (*CorsPolicySettingForGetRouteOutput) SetAllowOrigins ¶
func (s *CorsPolicySettingForGetRouteOutput) SetAllowOrigins(v []*AllowOriginForGetRouteOutput) *CorsPolicySettingForGetRouteOutput
SetAllowOrigins sets the AllowOrigins field's value.
func (*CorsPolicySettingForGetRouteOutput) SetEnable ¶
func (s *CorsPolicySettingForGetRouteOutput) SetEnable(v bool) *CorsPolicySettingForGetRouteOutput
SetEnable sets the Enable field's value.
func (*CorsPolicySettingForGetRouteOutput) SetExposeHeaders ¶
func (s *CorsPolicySettingForGetRouteOutput) SetExposeHeaders(v []*string) *CorsPolicySettingForGetRouteOutput
SetExposeHeaders sets the ExposeHeaders field's value.
func (*CorsPolicySettingForGetRouteOutput) SetMaxAge ¶
func (s *CorsPolicySettingForGetRouteOutput) SetMaxAge(v int64) *CorsPolicySettingForGetRouteOutput
SetMaxAge sets the MaxAge field's value.
func (CorsPolicySettingForGetRouteOutput) String ¶
func (s CorsPolicySettingForGetRouteOutput) String() string
String returns the string representation
type CorsPolicySettingForListRoutesOutput ¶
type CorsPolicySettingForListRoutesOutput struct {
AllowCredentials *bool `type:"boolean" json:",omitempty"`
AllowHeaders []*string `type:"list" json:",omitempty"`
AllowMethods []*string `type:"list" json:",omitempty"`
AllowOrigins []*AllowOriginForListRoutesOutput `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
ExposeHeaders []*string `type:"list" json:",omitempty"`
MaxAge *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (CorsPolicySettingForListRoutesOutput) GoString ¶
func (s CorsPolicySettingForListRoutesOutput) GoString() string
GoString returns the string representation
func (*CorsPolicySettingForListRoutesOutput) SetAllowCredentials ¶
func (s *CorsPolicySettingForListRoutesOutput) SetAllowCredentials(v bool) *CorsPolicySettingForListRoutesOutput
SetAllowCredentials sets the AllowCredentials field's value.
func (*CorsPolicySettingForListRoutesOutput) SetAllowHeaders ¶
func (s *CorsPolicySettingForListRoutesOutput) SetAllowHeaders(v []*string) *CorsPolicySettingForListRoutesOutput
SetAllowHeaders sets the AllowHeaders field's value.
func (*CorsPolicySettingForListRoutesOutput) SetAllowMethods ¶
func (s *CorsPolicySettingForListRoutesOutput) SetAllowMethods(v []*string) *CorsPolicySettingForListRoutesOutput
SetAllowMethods sets the AllowMethods field's value.
func (*CorsPolicySettingForListRoutesOutput) SetAllowOrigins ¶
func (s *CorsPolicySettingForListRoutesOutput) SetAllowOrigins(v []*AllowOriginForListRoutesOutput) *CorsPolicySettingForListRoutesOutput
SetAllowOrigins sets the AllowOrigins field's value.
func (*CorsPolicySettingForListRoutesOutput) SetEnable ¶
func (s *CorsPolicySettingForListRoutesOutput) SetEnable(v bool) *CorsPolicySettingForListRoutesOutput
SetEnable sets the Enable field's value.
func (*CorsPolicySettingForListRoutesOutput) SetExposeHeaders ¶
func (s *CorsPolicySettingForListRoutesOutput) SetExposeHeaders(v []*string) *CorsPolicySettingForListRoutesOutput
SetExposeHeaders sets the ExposeHeaders field's value.
func (*CorsPolicySettingForListRoutesOutput) SetMaxAge ¶
func (s *CorsPolicySettingForListRoutesOutput) SetMaxAge(v int64) *CorsPolicySettingForListRoutesOutput
SetMaxAge sets the MaxAge field's value.
func (CorsPolicySettingForListRoutesOutput) String ¶
func (s CorsPolicySettingForListRoutesOutput) String() string
String returns the string representation
type CorsPolicySettingForUpdateRouteInput ¶
type CorsPolicySettingForUpdateRouteInput struct {
AllowCredentials *bool `type:"boolean" json:",omitempty"`
AllowHeaders []*string `type:"list" json:",omitempty"`
AllowMethods []*string `type:"list" json:",omitempty"`
AllowOrigins []*AllowOriginForUpdateRouteInput `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
ExposeHeaders []*string `type:"list" json:",omitempty"`
MaxAge *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (CorsPolicySettingForUpdateRouteInput) GoString ¶
func (s CorsPolicySettingForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*CorsPolicySettingForUpdateRouteInput) SetAllowCredentials ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetAllowCredentials(v bool) *CorsPolicySettingForUpdateRouteInput
SetAllowCredentials sets the AllowCredentials field's value.
func (*CorsPolicySettingForUpdateRouteInput) SetAllowHeaders ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetAllowHeaders(v []*string) *CorsPolicySettingForUpdateRouteInput
SetAllowHeaders sets the AllowHeaders field's value.
func (*CorsPolicySettingForUpdateRouteInput) SetAllowMethods ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetAllowMethods(v []*string) *CorsPolicySettingForUpdateRouteInput
SetAllowMethods sets the AllowMethods field's value.
func (*CorsPolicySettingForUpdateRouteInput) SetAllowOrigins ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetAllowOrigins(v []*AllowOriginForUpdateRouteInput) *CorsPolicySettingForUpdateRouteInput
SetAllowOrigins sets the AllowOrigins field's value.
func (*CorsPolicySettingForUpdateRouteInput) SetEnable ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetEnable(v bool) *CorsPolicySettingForUpdateRouteInput
SetEnable sets the Enable field's value.
func (*CorsPolicySettingForUpdateRouteInput) SetExposeHeaders ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetExposeHeaders(v []*string) *CorsPolicySettingForUpdateRouteInput
SetExposeHeaders sets the ExposeHeaders field's value.
func (*CorsPolicySettingForUpdateRouteInput) SetMaxAge ¶
func (s *CorsPolicySettingForUpdateRouteInput) SetMaxAge(v int64) *CorsPolicySettingForUpdateRouteInput
SetMaxAge sets the MaxAge field's value.
func (CorsPolicySettingForUpdateRouteInput) String ¶
func (s CorsPolicySettingForUpdateRouteInput) String() string
String returns the string representation
type CreateRouteInput ¶
type CreateRouteInput struct {
AdvancedSetting *AdvancedSettingForCreateRouteInput `type:"structure" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackSetting *FallbackSettingForCreateRouteInput `type:"structure" json:",omitempty"`
MatchRule *MatchRuleForCreateRouteInput `type:"structure" json:",omitempty"`
// Name is a required field
Name *string `type:"string" json:",omitempty" required:"true"`
Priority *int64 `type:"int64" json:",omitempty"`
// ServiceId is a required field
ServiceId *string `type:"string" json:",omitempty" required:"true"`
UpstreamList []*UpstreamListForCreateRouteInput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (CreateRouteInput) GoString ¶
func (s CreateRouteInput) GoString() string
GoString returns the string representation
func (*CreateRouteInput) SetAdvancedSetting ¶
func (s *CreateRouteInput) SetAdvancedSetting(v *AdvancedSettingForCreateRouteInput) *CreateRouteInput
SetAdvancedSetting sets the AdvancedSetting field's value.
func (*CreateRouteInput) SetEnable ¶
func (s *CreateRouteInput) SetEnable(v bool) *CreateRouteInput
SetEnable sets the Enable field's value.
func (*CreateRouteInput) SetFallbackSetting ¶
func (s *CreateRouteInput) SetFallbackSetting(v *FallbackSettingForCreateRouteInput) *CreateRouteInput
SetFallbackSetting sets the FallbackSetting field's value.
func (*CreateRouteInput) SetMatchRule ¶
func (s *CreateRouteInput) SetMatchRule(v *MatchRuleForCreateRouteInput) *CreateRouteInput
SetMatchRule sets the MatchRule field's value.
func (*CreateRouteInput) SetName ¶
func (s *CreateRouteInput) SetName(v string) *CreateRouteInput
SetName sets the Name field's value.
func (*CreateRouteInput) SetPriority ¶
func (s *CreateRouteInput) SetPriority(v int64) *CreateRouteInput
SetPriority sets the Priority field's value.
func (*CreateRouteInput) SetServiceId ¶
func (s *CreateRouteInput) SetServiceId(v string) *CreateRouteInput
SetServiceId sets the ServiceId field's value.
func (*CreateRouteInput) SetUpstreamList ¶
func (s *CreateRouteInput) SetUpstreamList(v []*UpstreamListForCreateRouteInput) *CreateRouteInput
SetUpstreamList sets the UpstreamList field's value.
func (CreateRouteInput) String ¶
func (s CreateRouteInput) String() string
String returns the string representation
func (*CreateRouteInput) Validate ¶
func (s *CreateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRouteOutput ¶
type CreateRouteOutput struct {
Metadata *response.ResponseMetadata
Id *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (CreateRouteOutput) GoString ¶
func (s CreateRouteOutput) GoString() string
GoString returns the string representation
func (*CreateRouteOutput) SetId ¶
func (s *CreateRouteOutput) SetId(v string) *CreateRouteOutput
SetId sets the Id field's value.
func (CreateRouteOutput) String ¶
func (s CreateRouteOutput) String() string
String returns the string representation
type CustomDomainForGetRouteOutput ¶
type CustomDomainForGetRouteOutput struct {
Domain *string `type:"string" json:",omitempty"`
Id *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (CustomDomainForGetRouteOutput) GoString ¶
func (s CustomDomainForGetRouteOutput) GoString() string
GoString returns the string representation
func (*CustomDomainForGetRouteOutput) SetDomain ¶
func (s *CustomDomainForGetRouteOutput) SetDomain(v string) *CustomDomainForGetRouteOutput
SetDomain sets the Domain field's value.
func (*CustomDomainForGetRouteOutput) SetId ¶
func (s *CustomDomainForGetRouteOutput) SetId(v string) *CustomDomainForGetRouteOutput
SetId sets the Id field's value.
func (CustomDomainForGetRouteOutput) String ¶
func (s CustomDomainForGetRouteOutput) String() string
String returns the string representation
type CustomDomainForListRoutesOutput ¶
type CustomDomainForListRoutesOutput struct {
Domain *string `type:"string" json:",omitempty"`
Id *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (CustomDomainForListRoutesOutput) GoString ¶
func (s CustomDomainForListRoutesOutput) GoString() string
GoString returns the string representation
func (*CustomDomainForListRoutesOutput) SetDomain ¶
func (s *CustomDomainForListRoutesOutput) SetDomain(v string) *CustomDomainForListRoutesOutput
SetDomain sets the Domain field's value.
func (*CustomDomainForListRoutesOutput) SetId ¶
func (s *CustomDomainForListRoutesOutput) SetId(v string) *CustomDomainForListRoutesOutput
SetId sets the Id field's value.
func (CustomDomainForListRoutesOutput) String ¶
func (s CustomDomainForListRoutesOutput) String() string
String returns the string representation
type DeleteRouteInput ¶
type DeleteRouteInput struct {
// Id is a required field
Id *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (DeleteRouteInput) GoString ¶
func (s DeleteRouteInput) GoString() string
GoString returns the string representation
func (*DeleteRouteInput) SetId ¶
func (s *DeleteRouteInput) SetId(v string) *DeleteRouteInput
SetId sets the Id field's value.
func (DeleteRouteInput) String ¶
func (s DeleteRouteInput) String() string
String returns the string representation
func (*DeleteRouteInput) Validate ¶
func (s *DeleteRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRouteOutput ¶
type DeleteRouteOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (DeleteRouteOutput) GoString ¶
func (s DeleteRouteOutput) GoString() string
GoString returns the string representation
func (DeleteRouteOutput) String ¶
func (s DeleteRouteOutput) String() string
String returns the string representation
type DomainForGetRouteOutput ¶
type DomainForGetRouteOutput struct {
Domain *string `type:"string" json:",omitempty"`
Type *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (DomainForGetRouteOutput) GoString ¶
func (s DomainForGetRouteOutput) GoString() string
GoString returns the string representation
func (*DomainForGetRouteOutput) SetDomain ¶
func (s *DomainForGetRouteOutput) SetDomain(v string) *DomainForGetRouteOutput
SetDomain sets the Domain field's value.
func (*DomainForGetRouteOutput) SetType ¶
func (s *DomainForGetRouteOutput) SetType(v string) *DomainForGetRouteOutput
SetType sets the Type field's value.
func (DomainForGetRouteOutput) String ¶
func (s DomainForGetRouteOutput) String() string
String returns the string representation
type DomainForListRoutesOutput ¶
type DomainForListRoutesOutput struct {
Domain *string `type:"string" json:",omitempty"`
Type *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (DomainForListRoutesOutput) GoString ¶
func (s DomainForListRoutesOutput) GoString() string
GoString returns the string representation
func (*DomainForListRoutesOutput) SetDomain ¶
func (s *DomainForListRoutesOutput) SetDomain(v string) *DomainForListRoutesOutput
SetDomain sets the Domain field's value.
func (*DomainForListRoutesOutput) SetType ¶
func (s *DomainForListRoutesOutput) SetType(v string) *DomainForListRoutesOutput
SetType sets the Type field's value.
func (DomainForListRoutesOutput) String ¶
func (s DomainForListRoutesOutput) String() string
String returns the string representation
type FallbackSettingForCreateRouteInput ¶
type FallbackSettingForCreateRouteInput struct {
Conditions []*string `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackUpstreams []*FallbackUpstreamForCreateRouteInput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackSettingForCreateRouteInput) GoString ¶
func (s FallbackSettingForCreateRouteInput) GoString() string
GoString returns the string representation
func (*FallbackSettingForCreateRouteInput) SetConditions ¶
func (s *FallbackSettingForCreateRouteInput) SetConditions(v []*string) *FallbackSettingForCreateRouteInput
SetConditions sets the Conditions field's value.
func (*FallbackSettingForCreateRouteInput) SetEnable ¶
func (s *FallbackSettingForCreateRouteInput) SetEnable(v bool) *FallbackSettingForCreateRouteInput
SetEnable sets the Enable field's value.
func (*FallbackSettingForCreateRouteInput) SetFallbackUpstreams ¶
func (s *FallbackSettingForCreateRouteInput) SetFallbackUpstreams(v []*FallbackUpstreamForCreateRouteInput) *FallbackSettingForCreateRouteInput
SetFallbackUpstreams sets the FallbackUpstreams field's value.
func (FallbackSettingForCreateRouteInput) String ¶
func (s FallbackSettingForCreateRouteInput) String() string
String returns the string representation
type FallbackSettingForGetRouteOutput ¶
type FallbackSettingForGetRouteOutput struct {
Conditions []*string `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackUpstreams []*FallbackUpstreamForGetRouteOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackSettingForGetRouteOutput) GoString ¶
func (s FallbackSettingForGetRouteOutput) GoString() string
GoString returns the string representation
func (*FallbackSettingForGetRouteOutput) SetConditions ¶
func (s *FallbackSettingForGetRouteOutput) SetConditions(v []*string) *FallbackSettingForGetRouteOutput
SetConditions sets the Conditions field's value.
func (*FallbackSettingForGetRouteOutput) SetEnable ¶
func (s *FallbackSettingForGetRouteOutput) SetEnable(v bool) *FallbackSettingForGetRouteOutput
SetEnable sets the Enable field's value.
func (*FallbackSettingForGetRouteOutput) SetFallbackUpstreams ¶
func (s *FallbackSettingForGetRouteOutput) SetFallbackUpstreams(v []*FallbackUpstreamForGetRouteOutput) *FallbackSettingForGetRouteOutput
SetFallbackUpstreams sets the FallbackUpstreams field's value.
func (FallbackSettingForGetRouteOutput) String ¶
func (s FallbackSettingForGetRouteOutput) String() string
String returns the string representation
type FallbackSettingForListRoutesOutput ¶
type FallbackSettingForListRoutesOutput struct {
Conditions []*string `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackUpstreams []*FallbackUpstreamForListRoutesOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackSettingForListRoutesOutput) GoString ¶
func (s FallbackSettingForListRoutesOutput) GoString() string
GoString returns the string representation
func (*FallbackSettingForListRoutesOutput) SetConditions ¶
func (s *FallbackSettingForListRoutesOutput) SetConditions(v []*string) *FallbackSettingForListRoutesOutput
SetConditions sets the Conditions field's value.
func (*FallbackSettingForListRoutesOutput) SetEnable ¶
func (s *FallbackSettingForListRoutesOutput) SetEnable(v bool) *FallbackSettingForListRoutesOutput
SetEnable sets the Enable field's value.
func (*FallbackSettingForListRoutesOutput) SetFallbackUpstreams ¶
func (s *FallbackSettingForListRoutesOutput) SetFallbackUpstreams(v []*FallbackUpstreamForListRoutesOutput) *FallbackSettingForListRoutesOutput
SetFallbackUpstreams sets the FallbackUpstreams field's value.
func (FallbackSettingForListRoutesOutput) String ¶
func (s FallbackSettingForListRoutesOutput) String() string
String returns the string representation
type FallbackSettingForUpdateRouteInput ¶
type FallbackSettingForUpdateRouteInput struct {
Conditions []*string `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackUpstreams []*FallbackUpstreamForUpdateRouteInput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackSettingForUpdateRouteInput) GoString ¶
func (s FallbackSettingForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*FallbackSettingForUpdateRouteInput) SetConditions ¶
func (s *FallbackSettingForUpdateRouteInput) SetConditions(v []*string) *FallbackSettingForUpdateRouteInput
SetConditions sets the Conditions field's value.
func (*FallbackSettingForUpdateRouteInput) SetEnable ¶
func (s *FallbackSettingForUpdateRouteInput) SetEnable(v bool) *FallbackSettingForUpdateRouteInput
SetEnable sets the Enable field's value.
func (*FallbackSettingForUpdateRouteInput) SetFallbackUpstreams ¶
func (s *FallbackSettingForUpdateRouteInput) SetFallbackUpstreams(v []*FallbackUpstreamForUpdateRouteInput) *FallbackSettingForUpdateRouteInput
SetFallbackUpstreams sets the FallbackUpstreams field's value.
func (FallbackSettingForUpdateRouteInput) String ¶
func (s FallbackSettingForUpdateRouteInput) String() string
String returns the string representation
type FallbackUpstreamForCreateRouteInput ¶
type FallbackUpstreamForCreateRouteInput struct {
AIProviderSettings *AIProviderSettingsForCreateRouteInput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackUpstreamForCreateRouteInput) GoString ¶
func (s FallbackUpstreamForCreateRouteInput) GoString() string
GoString returns the string representation
func (*FallbackUpstreamForCreateRouteInput) SetAIProviderSettings ¶
func (s *FallbackUpstreamForCreateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForCreateRouteInput) *FallbackUpstreamForCreateRouteInput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*FallbackUpstreamForCreateRouteInput) SetUpstreamId ¶
func (s *FallbackUpstreamForCreateRouteInput) SetUpstreamId(v string) *FallbackUpstreamForCreateRouteInput
SetUpstreamId sets the UpstreamId field's value.
func (*FallbackUpstreamForCreateRouteInput) SetVersion ¶
func (s *FallbackUpstreamForCreateRouteInput) SetVersion(v string) *FallbackUpstreamForCreateRouteInput
SetVersion sets the Version field's value.
func (*FallbackUpstreamForCreateRouteInput) SetWeight ¶
func (s *FallbackUpstreamForCreateRouteInput) SetWeight(v int32) *FallbackUpstreamForCreateRouteInput
SetWeight sets the Weight field's value.
func (FallbackUpstreamForCreateRouteInput) String ¶
func (s FallbackUpstreamForCreateRouteInput) String() string
String returns the string representation
type FallbackUpstreamForGetRouteOutput ¶
type FallbackUpstreamForGetRouteOutput struct {
AIProviderSettings *AIProviderSettingsForGetRouteOutput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackUpstreamForGetRouteOutput) GoString ¶
func (s FallbackUpstreamForGetRouteOutput) GoString() string
GoString returns the string representation
func (*FallbackUpstreamForGetRouteOutput) SetAIProviderSettings ¶
func (s *FallbackUpstreamForGetRouteOutput) SetAIProviderSettings(v *AIProviderSettingsForGetRouteOutput) *FallbackUpstreamForGetRouteOutput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*FallbackUpstreamForGetRouteOutput) SetUpstreamId ¶
func (s *FallbackUpstreamForGetRouteOutput) SetUpstreamId(v string) *FallbackUpstreamForGetRouteOutput
SetUpstreamId sets the UpstreamId field's value.
func (*FallbackUpstreamForGetRouteOutput) SetVersion ¶
func (s *FallbackUpstreamForGetRouteOutput) SetVersion(v string) *FallbackUpstreamForGetRouteOutput
SetVersion sets the Version field's value.
func (*FallbackUpstreamForGetRouteOutput) SetWeight ¶
func (s *FallbackUpstreamForGetRouteOutput) SetWeight(v int32) *FallbackUpstreamForGetRouteOutput
SetWeight sets the Weight field's value.
func (FallbackUpstreamForGetRouteOutput) String ¶
func (s FallbackUpstreamForGetRouteOutput) String() string
String returns the string representation
type FallbackUpstreamForListRoutesOutput ¶
type FallbackUpstreamForListRoutesOutput struct {
AIProviderSettings *AIProviderSettingsForListRoutesOutput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackUpstreamForListRoutesOutput) GoString ¶
func (s FallbackUpstreamForListRoutesOutput) GoString() string
GoString returns the string representation
func (*FallbackUpstreamForListRoutesOutput) SetAIProviderSettings ¶
func (s *FallbackUpstreamForListRoutesOutput) SetAIProviderSettings(v *AIProviderSettingsForListRoutesOutput) *FallbackUpstreamForListRoutesOutput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*FallbackUpstreamForListRoutesOutput) SetUpstreamId ¶
func (s *FallbackUpstreamForListRoutesOutput) SetUpstreamId(v string) *FallbackUpstreamForListRoutesOutput
SetUpstreamId sets the UpstreamId field's value.
func (*FallbackUpstreamForListRoutesOutput) SetVersion ¶
func (s *FallbackUpstreamForListRoutesOutput) SetVersion(v string) *FallbackUpstreamForListRoutesOutput
SetVersion sets the Version field's value.
func (*FallbackUpstreamForListRoutesOutput) SetWeight ¶
func (s *FallbackUpstreamForListRoutesOutput) SetWeight(v int32) *FallbackUpstreamForListRoutesOutput
SetWeight sets the Weight field's value.
func (FallbackUpstreamForListRoutesOutput) String ¶
func (s FallbackUpstreamForListRoutesOutput) String() string
String returns the string representation
type FallbackUpstreamForUpdateRouteInput ¶
type FallbackUpstreamForUpdateRouteInput struct {
AIProviderSettings *AIProviderSettingsForUpdateRouteInput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (FallbackUpstreamForUpdateRouteInput) GoString ¶
func (s FallbackUpstreamForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*FallbackUpstreamForUpdateRouteInput) SetAIProviderSettings ¶
func (s *FallbackUpstreamForUpdateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForUpdateRouteInput) *FallbackUpstreamForUpdateRouteInput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*FallbackUpstreamForUpdateRouteInput) SetUpstreamId ¶
func (s *FallbackUpstreamForUpdateRouteInput) SetUpstreamId(v string) *FallbackUpstreamForUpdateRouteInput
SetUpstreamId sets the UpstreamId field's value.
func (*FallbackUpstreamForUpdateRouteInput) SetVersion ¶
func (s *FallbackUpstreamForUpdateRouteInput) SetVersion(v string) *FallbackUpstreamForUpdateRouteInput
SetVersion sets the Version field's value.
func (*FallbackUpstreamForUpdateRouteInput) SetWeight ¶
func (s *FallbackUpstreamForUpdateRouteInput) SetWeight(v int32) *FallbackUpstreamForUpdateRouteInput
SetWeight sets the Weight field's value.
func (FallbackUpstreamForUpdateRouteInput) String ¶
func (s FallbackUpstreamForUpdateRouteInput) String() string
String returns the string representation
type FilterForListRoutesInput ¶
type FilterForListRoutesInput struct {
Name *string `type:"string" json:",omitempty"`
Path *string `type:"string" json:",omitempty"`
UpstreamIds []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FilterForListRoutesInput) GoString ¶
func (s FilterForListRoutesInput) GoString() string
GoString returns the string representation
func (*FilterForListRoutesInput) SetName ¶
func (s *FilterForListRoutesInput) SetName(v string) *FilterForListRoutesInput
SetName sets the Name field's value.
func (*FilterForListRoutesInput) SetPath ¶
func (s *FilterForListRoutesInput) SetPath(v string) *FilterForListRoutesInput
SetPath sets the Path field's value.
func (*FilterForListRoutesInput) SetUpstreamIds ¶
func (s *FilterForListRoutesInput) SetUpstreamIds(v []*string) *FilterForListRoutesInput
SetUpstreamIds sets the UpstreamIds field's value.
func (FilterForListRoutesInput) String ¶
func (s FilterForListRoutesInput) String() string
String returns the string representation
type GetRouteInput ¶
type GetRouteInput struct {
// Id is a required field
Id *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (GetRouteInput) GoString ¶
func (s GetRouteInput) GoString() string
GoString returns the string representation
func (*GetRouteInput) SetId ¶
func (s *GetRouteInput) SetId(v string) *GetRouteInput
SetId sets the Id field's value.
func (GetRouteInput) String ¶
func (s GetRouteInput) String() string
String returns the string representation
func (*GetRouteInput) Validate ¶
func (s *GetRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRouteOutput ¶
type GetRouteOutput struct {
Metadata *response.ResponseMetadata
Route *RouteForGetRouteOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetRouteOutput) GoString ¶
func (s GetRouteOutput) GoString() string
GoString returns the string representation
func (*GetRouteOutput) SetRoute ¶
func (s *GetRouteOutput) SetRoute(v *RouteForGetRouteOutput) *GetRouteOutput
SetRoute sets the Route field's value.
func (GetRouteOutput) String ¶
func (s GetRouteOutput) String() string
String returns the string representation
type HeaderForCreateRouteInput ¶
type HeaderForCreateRouteInput struct {
Key *string `type:"string" json:",omitempty"`
Value *ValueForCreateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderForCreateRouteInput) GoString ¶
func (s HeaderForCreateRouteInput) GoString() string
GoString returns the string representation
func (*HeaderForCreateRouteInput) SetKey ¶
func (s *HeaderForCreateRouteInput) SetKey(v string) *HeaderForCreateRouteInput
SetKey sets the Key field's value.
func (*HeaderForCreateRouteInput) SetValue ¶
func (s *HeaderForCreateRouteInput) SetValue(v *ValueForCreateRouteInput) *HeaderForCreateRouteInput
SetValue sets the Value field's value.
func (HeaderForCreateRouteInput) String ¶
func (s HeaderForCreateRouteInput) String() string
String returns the string representation
type HeaderForGetRouteOutput ¶
type HeaderForGetRouteOutput struct {
Key *string `type:"string" json:",omitempty"`
Value *ValueForGetRouteOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderForGetRouteOutput) GoString ¶
func (s HeaderForGetRouteOutput) GoString() string
GoString returns the string representation
func (*HeaderForGetRouteOutput) SetKey ¶
func (s *HeaderForGetRouteOutput) SetKey(v string) *HeaderForGetRouteOutput
SetKey sets the Key field's value.
func (*HeaderForGetRouteOutput) SetValue ¶
func (s *HeaderForGetRouteOutput) SetValue(v *ValueForGetRouteOutput) *HeaderForGetRouteOutput
SetValue sets the Value field's value.
func (HeaderForGetRouteOutput) String ¶
func (s HeaderForGetRouteOutput) String() string
String returns the string representation
type HeaderForListRoutesOutput ¶
type HeaderForListRoutesOutput struct {
Key *string `type:"string" json:",omitempty"`
Value *ValueForListRoutesOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderForListRoutesOutput) GoString ¶
func (s HeaderForListRoutesOutput) GoString() string
GoString returns the string representation
func (*HeaderForListRoutesOutput) SetKey ¶
func (s *HeaderForListRoutesOutput) SetKey(v string) *HeaderForListRoutesOutput
SetKey sets the Key field's value.
func (*HeaderForListRoutesOutput) SetValue ¶
func (s *HeaderForListRoutesOutput) SetValue(v *ValueForListRoutesOutput) *HeaderForListRoutesOutput
SetValue sets the Value field's value.
func (HeaderForListRoutesOutput) String ¶
func (s HeaderForListRoutesOutput) String() string
String returns the string representation
type HeaderForUpdateRouteInput ¶
type HeaderForUpdateRouteInput struct {
Key *string `type:"string" json:",omitempty"`
Value *ValueForUpdateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderForUpdateRouteInput) GoString ¶
func (s HeaderForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*HeaderForUpdateRouteInput) SetKey ¶
func (s *HeaderForUpdateRouteInput) SetKey(v string) *HeaderForUpdateRouteInput
SetKey sets the Key field's value.
func (*HeaderForUpdateRouteInput) SetValue ¶
func (s *HeaderForUpdateRouteInput) SetValue(v *ValueForUpdateRouteInput) *HeaderForUpdateRouteInput
SetValue sets the Value field's value.
func (HeaderForUpdateRouteInput) String ¶
func (s HeaderForUpdateRouteInput) String() string
String returns the string representation
type HeaderOperationForCreateRouteInput ¶
type HeaderOperationForCreateRouteInput struct {
Key *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderOperationForCreateRouteInput) GoString ¶
func (s HeaderOperationForCreateRouteInput) GoString() string
GoString returns the string representation
func (*HeaderOperationForCreateRouteInput) SetKey ¶
func (s *HeaderOperationForCreateRouteInput) SetKey(v string) *HeaderOperationForCreateRouteInput
SetKey sets the Key field's value.
func (*HeaderOperationForCreateRouteInput) SetOperation ¶
func (s *HeaderOperationForCreateRouteInput) SetOperation(v string) *HeaderOperationForCreateRouteInput
SetOperation sets the Operation field's value.
func (*HeaderOperationForCreateRouteInput) SetValue ¶
func (s *HeaderOperationForCreateRouteInput) SetValue(v string) *HeaderOperationForCreateRouteInput
SetValue sets the Value field's value.
func (HeaderOperationForCreateRouteInput) String ¶
func (s HeaderOperationForCreateRouteInput) String() string
String returns the string representation
type HeaderOperationForGetRouteOutput ¶
type HeaderOperationForGetRouteOutput struct {
Key *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderOperationForGetRouteOutput) GoString ¶
func (s HeaderOperationForGetRouteOutput) GoString() string
GoString returns the string representation
func (*HeaderOperationForGetRouteOutput) SetKey ¶
func (s *HeaderOperationForGetRouteOutput) SetKey(v string) *HeaderOperationForGetRouteOutput
SetKey sets the Key field's value.
func (*HeaderOperationForGetRouteOutput) SetOperation ¶
func (s *HeaderOperationForGetRouteOutput) SetOperation(v string) *HeaderOperationForGetRouteOutput
SetOperation sets the Operation field's value.
func (*HeaderOperationForGetRouteOutput) SetValue ¶
func (s *HeaderOperationForGetRouteOutput) SetValue(v string) *HeaderOperationForGetRouteOutput
SetValue sets the Value field's value.
func (HeaderOperationForGetRouteOutput) String ¶
func (s HeaderOperationForGetRouteOutput) String() string
String returns the string representation
type HeaderOperationForListRoutesOutput ¶
type HeaderOperationForListRoutesOutput struct {
Key *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderOperationForListRoutesOutput) GoString ¶
func (s HeaderOperationForListRoutesOutput) GoString() string
GoString returns the string representation
func (*HeaderOperationForListRoutesOutput) SetKey ¶
func (s *HeaderOperationForListRoutesOutput) SetKey(v string) *HeaderOperationForListRoutesOutput
SetKey sets the Key field's value.
func (*HeaderOperationForListRoutesOutput) SetOperation ¶
func (s *HeaderOperationForListRoutesOutput) SetOperation(v string) *HeaderOperationForListRoutesOutput
SetOperation sets the Operation field's value.
func (*HeaderOperationForListRoutesOutput) SetValue ¶
func (s *HeaderOperationForListRoutesOutput) SetValue(v string) *HeaderOperationForListRoutesOutput
SetValue sets the Value field's value.
func (HeaderOperationForListRoutesOutput) String ¶
func (s HeaderOperationForListRoutesOutput) String() string
String returns the string representation
type HeaderOperationForUpdateRouteInput ¶
type HeaderOperationForUpdateRouteInput struct {
Key *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (HeaderOperationForUpdateRouteInput) GoString ¶
func (s HeaderOperationForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*HeaderOperationForUpdateRouteInput) SetKey ¶
func (s *HeaderOperationForUpdateRouteInput) SetKey(v string) *HeaderOperationForUpdateRouteInput
SetKey sets the Key field's value.
func (*HeaderOperationForUpdateRouteInput) SetOperation ¶
func (s *HeaderOperationForUpdateRouteInput) SetOperation(v string) *HeaderOperationForUpdateRouteInput
SetOperation sets the Operation field's value.
func (*HeaderOperationForUpdateRouteInput) SetValue ¶
func (s *HeaderOperationForUpdateRouteInput) SetValue(v string) *HeaderOperationForUpdateRouteInput
SetValue sets the Value field's value.
func (HeaderOperationForUpdateRouteInput) String ¶
func (s HeaderOperationForUpdateRouteInput) String() string
String returns the string representation
type ItemForListRoutesOutput ¶
type ItemForListRoutesOutput struct {
AdvancedSetting *AdvancedSettingForListRoutesOutput `type:"structure" json:",omitempty"`
CreateTime *string `type:"string" json:",omitempty"`
CustomDomains []*CustomDomainForListRoutesOutput `type:"list" json:",omitempty"`
Domains []*DomainForListRoutesOutput `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackSetting *FallbackSettingForListRoutesOutput `type:"structure" json:",omitempty"`
Id *string `type:"string" json:",omitempty"`
MatchRule *MatchRuleForListRoutesOutput `type:"structure" json:",omitempty"`
Name *string `type:"string" json:",omitempty"`
Priority *int64 `type:"int64" json:",omitempty"`
Reason *string `type:"string" json:",omitempty"`
ServiceId *string `type:"string" json:",omitempty"`
ServiceName *string `type:"string" json:",omitempty"`
Status *string `type:"string" json:",omitempty"`
UpdateTime *string `type:"string" json:",omitempty"`
UpstreamList []*UpstreamListForListRoutesOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (ItemForListRoutesOutput) GoString ¶
func (s ItemForListRoutesOutput) GoString() string
GoString returns the string representation
func (*ItemForListRoutesOutput) SetAdvancedSetting ¶
func (s *ItemForListRoutesOutput) SetAdvancedSetting(v *AdvancedSettingForListRoutesOutput) *ItemForListRoutesOutput
SetAdvancedSetting sets the AdvancedSetting field's value.
func (*ItemForListRoutesOutput) SetCreateTime ¶
func (s *ItemForListRoutesOutput) SetCreateTime(v string) *ItemForListRoutesOutput
SetCreateTime sets the CreateTime field's value.
func (*ItemForListRoutesOutput) SetCustomDomains ¶
func (s *ItemForListRoutesOutput) SetCustomDomains(v []*CustomDomainForListRoutesOutput) *ItemForListRoutesOutput
SetCustomDomains sets the CustomDomains field's value.
func (*ItemForListRoutesOutput) SetDomains ¶
func (s *ItemForListRoutesOutput) SetDomains(v []*DomainForListRoutesOutput) *ItemForListRoutesOutput
SetDomains sets the Domains field's value.
func (*ItemForListRoutesOutput) SetEnable ¶
func (s *ItemForListRoutesOutput) SetEnable(v bool) *ItemForListRoutesOutput
SetEnable sets the Enable field's value.
func (*ItemForListRoutesOutput) SetFallbackSetting ¶
func (s *ItemForListRoutesOutput) SetFallbackSetting(v *FallbackSettingForListRoutesOutput) *ItemForListRoutesOutput
SetFallbackSetting sets the FallbackSetting field's value.
func (*ItemForListRoutesOutput) SetId ¶
func (s *ItemForListRoutesOutput) SetId(v string) *ItemForListRoutesOutput
SetId sets the Id field's value.
func (*ItemForListRoutesOutput) SetMatchRule ¶
func (s *ItemForListRoutesOutput) SetMatchRule(v *MatchRuleForListRoutesOutput) *ItemForListRoutesOutput
SetMatchRule sets the MatchRule field's value.
func (*ItemForListRoutesOutput) SetName ¶
func (s *ItemForListRoutesOutput) SetName(v string) *ItemForListRoutesOutput
SetName sets the Name field's value.
func (*ItemForListRoutesOutput) SetPriority ¶
func (s *ItemForListRoutesOutput) SetPriority(v int64) *ItemForListRoutesOutput
SetPriority sets the Priority field's value.
func (*ItemForListRoutesOutput) SetReason ¶
func (s *ItemForListRoutesOutput) SetReason(v string) *ItemForListRoutesOutput
SetReason sets the Reason field's value.
func (*ItemForListRoutesOutput) SetServiceId ¶
func (s *ItemForListRoutesOutput) SetServiceId(v string) *ItemForListRoutesOutput
SetServiceId sets the ServiceId field's value.
func (*ItemForListRoutesOutput) SetServiceName ¶
func (s *ItemForListRoutesOutput) SetServiceName(v string) *ItemForListRoutesOutput
SetServiceName sets the ServiceName field's value.
func (*ItemForListRoutesOutput) SetStatus ¶
func (s *ItemForListRoutesOutput) SetStatus(v string) *ItemForListRoutesOutput
SetStatus sets the Status field's value.
func (*ItemForListRoutesOutput) SetUpdateTime ¶
func (s *ItemForListRoutesOutput) SetUpdateTime(v string) *ItemForListRoutesOutput
SetUpdateTime sets the UpdateTime field's value.
func (*ItemForListRoutesOutput) SetUpstreamList ¶
func (s *ItemForListRoutesOutput) SetUpstreamList(v []*UpstreamListForListRoutesOutput) *ItemForListRoutesOutput
SetUpstreamList sets the UpstreamList field's value.
func (ItemForListRoutesOutput) String ¶
func (s ItemForListRoutesOutput) String() string
String returns the string representation
type ListRoutesInput ¶
type ListRoutesInput struct {
Filter *FilterForListRoutesInput `type:"structure" json:",omitempty"`
GatewayId *string `type:"string" json:",omitempty"`
PageNumber *int64 `type:"int64" json:",omitempty"`
PageSize *int64 `type:"int64" json:",omitempty"`
ServiceId *string `type:"string" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
UpstreamVersion *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListRoutesInput) GoString ¶
func (s ListRoutesInput) GoString() string
GoString returns the string representation
func (*ListRoutesInput) SetFilter ¶
func (s *ListRoutesInput) SetFilter(v *FilterForListRoutesInput) *ListRoutesInput
SetFilter sets the Filter field's value.
func (*ListRoutesInput) SetGatewayId ¶
func (s *ListRoutesInput) SetGatewayId(v string) *ListRoutesInput
SetGatewayId sets the GatewayId field's value.
func (*ListRoutesInput) SetPageNumber ¶
func (s *ListRoutesInput) SetPageNumber(v int64) *ListRoutesInput
SetPageNumber sets the PageNumber field's value.
func (*ListRoutesInput) SetPageSize ¶
func (s *ListRoutesInput) SetPageSize(v int64) *ListRoutesInput
SetPageSize sets the PageSize field's value.
func (*ListRoutesInput) SetServiceId ¶
func (s *ListRoutesInput) SetServiceId(v string) *ListRoutesInput
SetServiceId sets the ServiceId field's value.
func (*ListRoutesInput) SetUpstreamId ¶
func (s *ListRoutesInput) SetUpstreamId(v string) *ListRoutesInput
SetUpstreamId sets the UpstreamId field's value.
func (*ListRoutesInput) SetUpstreamVersion ¶
func (s *ListRoutesInput) SetUpstreamVersion(v string) *ListRoutesInput
SetUpstreamVersion sets the UpstreamVersion field's value.
func (ListRoutesInput) String ¶
func (s ListRoutesInput) String() string
String returns the string representation
type ListRoutesOutput ¶
type ListRoutesOutput struct {
Metadata *response.ResponseMetadata
Items []*ItemForListRoutesOutput `type:"list" json:",omitempty"`
Total *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListRoutesOutput) GoString ¶
func (s ListRoutesOutput) GoString() string
GoString returns the string representation
func (*ListRoutesOutput) SetItems ¶
func (s *ListRoutesOutput) SetItems(v []*ItemForListRoutesOutput) *ListRoutesOutput
SetItems sets the Items field's value.
func (*ListRoutesOutput) SetTotal ¶
func (s *ListRoutesOutput) SetTotal(v int64) *ListRoutesOutput
SetTotal sets the Total field's value.
func (ListRoutesOutput) String ¶
func (s ListRoutesOutput) String() string
String returns the string representation
type MatchRuleForCreateRouteInput ¶
type MatchRuleForCreateRouteInput struct {
Header []*HeaderForCreateRouteInput `type:"list" json:",omitempty"`
Method []*string `type:"list" json:",omitempty"`
Path *PathForCreateRouteInput `type:"structure" json:",omitempty"`
QueryString []*QueryStringForCreateRouteInput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (MatchRuleForCreateRouteInput) GoString ¶
func (s MatchRuleForCreateRouteInput) GoString() string
GoString returns the string representation
func (*MatchRuleForCreateRouteInput) SetHeader ¶
func (s *MatchRuleForCreateRouteInput) SetHeader(v []*HeaderForCreateRouteInput) *MatchRuleForCreateRouteInput
SetHeader sets the Header field's value.
func (*MatchRuleForCreateRouteInput) SetMethod ¶
func (s *MatchRuleForCreateRouteInput) SetMethod(v []*string) *MatchRuleForCreateRouteInput
SetMethod sets the Method field's value.
func (*MatchRuleForCreateRouteInput) SetPath ¶
func (s *MatchRuleForCreateRouteInput) SetPath(v *PathForCreateRouteInput) *MatchRuleForCreateRouteInput
SetPath sets the Path field's value.
func (*MatchRuleForCreateRouteInput) SetQueryString ¶
func (s *MatchRuleForCreateRouteInput) SetQueryString(v []*QueryStringForCreateRouteInput) *MatchRuleForCreateRouteInput
SetQueryString sets the QueryString field's value.
func (MatchRuleForCreateRouteInput) String ¶
func (s MatchRuleForCreateRouteInput) String() string
String returns the string representation
type MatchRuleForGetRouteOutput ¶
type MatchRuleForGetRouteOutput struct {
Header []*HeaderForGetRouteOutput `type:"list" json:",omitempty"`
Method []*string `type:"list" json:",omitempty"`
Path *PathForGetRouteOutput `type:"structure" json:",omitempty"`
QueryString []*QueryStringForGetRouteOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (MatchRuleForGetRouteOutput) GoString ¶
func (s MatchRuleForGetRouteOutput) GoString() string
GoString returns the string representation
func (*MatchRuleForGetRouteOutput) SetHeader ¶
func (s *MatchRuleForGetRouteOutput) SetHeader(v []*HeaderForGetRouteOutput) *MatchRuleForGetRouteOutput
SetHeader sets the Header field's value.
func (*MatchRuleForGetRouteOutput) SetMethod ¶
func (s *MatchRuleForGetRouteOutput) SetMethod(v []*string) *MatchRuleForGetRouteOutput
SetMethod sets the Method field's value.
func (*MatchRuleForGetRouteOutput) SetPath ¶
func (s *MatchRuleForGetRouteOutput) SetPath(v *PathForGetRouteOutput) *MatchRuleForGetRouteOutput
SetPath sets the Path field's value.
func (*MatchRuleForGetRouteOutput) SetQueryString ¶
func (s *MatchRuleForGetRouteOutput) SetQueryString(v []*QueryStringForGetRouteOutput) *MatchRuleForGetRouteOutput
SetQueryString sets the QueryString field's value.
func (MatchRuleForGetRouteOutput) String ¶
func (s MatchRuleForGetRouteOutput) String() string
String returns the string representation
type MatchRuleForListRoutesOutput ¶
type MatchRuleForListRoutesOutput struct {
Header []*HeaderForListRoutesOutput `type:"list" json:",omitempty"`
Method []*string `type:"list" json:",omitempty"`
Path *PathForListRoutesOutput `type:"structure" json:",omitempty"`
QueryString []*QueryStringForListRoutesOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (MatchRuleForListRoutesOutput) GoString ¶
func (s MatchRuleForListRoutesOutput) GoString() string
GoString returns the string representation
func (*MatchRuleForListRoutesOutput) SetHeader ¶
func (s *MatchRuleForListRoutesOutput) SetHeader(v []*HeaderForListRoutesOutput) *MatchRuleForListRoutesOutput
SetHeader sets the Header field's value.
func (*MatchRuleForListRoutesOutput) SetMethod ¶
func (s *MatchRuleForListRoutesOutput) SetMethod(v []*string) *MatchRuleForListRoutesOutput
SetMethod sets the Method field's value.
func (*MatchRuleForListRoutesOutput) SetPath ¶
func (s *MatchRuleForListRoutesOutput) SetPath(v *PathForListRoutesOutput) *MatchRuleForListRoutesOutput
SetPath sets the Path field's value.
func (*MatchRuleForListRoutesOutput) SetQueryString ¶
func (s *MatchRuleForListRoutesOutput) SetQueryString(v []*QueryStringForListRoutesOutput) *MatchRuleForListRoutesOutput
SetQueryString sets the QueryString field's value.
func (MatchRuleForListRoutesOutput) String ¶
func (s MatchRuleForListRoutesOutput) String() string
String returns the string representation
type MatchRuleForUpdateRouteInput ¶
type MatchRuleForUpdateRouteInput struct {
Header []*HeaderForUpdateRouteInput `type:"list" json:",omitempty"`
Method []*string `type:"list" json:",omitempty"`
Path *PathForUpdateRouteInput `type:"structure" json:",omitempty"`
QueryString []*QueryStringForUpdateRouteInput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (MatchRuleForUpdateRouteInput) GoString ¶
func (s MatchRuleForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*MatchRuleForUpdateRouteInput) SetHeader ¶
func (s *MatchRuleForUpdateRouteInput) SetHeader(v []*HeaderForUpdateRouteInput) *MatchRuleForUpdateRouteInput
SetHeader sets the Header field's value.
func (*MatchRuleForUpdateRouteInput) SetMethod ¶
func (s *MatchRuleForUpdateRouteInput) SetMethod(v []*string) *MatchRuleForUpdateRouteInput
SetMethod sets the Method field's value.
func (*MatchRuleForUpdateRouteInput) SetPath ¶
func (s *MatchRuleForUpdateRouteInput) SetPath(v *PathForUpdateRouteInput) *MatchRuleForUpdateRouteInput
SetPath sets the Path field's value.
func (*MatchRuleForUpdateRouteInput) SetQueryString ¶
func (s *MatchRuleForUpdateRouteInput) SetQueryString(v []*QueryStringForUpdateRouteInput) *MatchRuleForUpdateRouteInput
SetQueryString sets the QueryString field's value.
func (MatchRuleForUpdateRouteInput) String ¶
func (s MatchRuleForUpdateRouteInput) String() string
String returns the string representation
type MirrorPolicyForCreateRouteInput ¶
type MirrorPolicyForCreateRouteInput struct {
Percent *PercentForCreateRouteInput `type:"structure" json:",omitempty"`
Upstream *UpstreamForCreateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (MirrorPolicyForCreateRouteInput) GoString ¶
func (s MirrorPolicyForCreateRouteInput) GoString() string
GoString returns the string representation
func (*MirrorPolicyForCreateRouteInput) SetPercent ¶
func (s *MirrorPolicyForCreateRouteInput) SetPercent(v *PercentForCreateRouteInput) *MirrorPolicyForCreateRouteInput
SetPercent sets the Percent field's value.
func (*MirrorPolicyForCreateRouteInput) SetUpstream ¶
func (s *MirrorPolicyForCreateRouteInput) SetUpstream(v *UpstreamForCreateRouteInput) *MirrorPolicyForCreateRouteInput
SetUpstream sets the Upstream field's value.
func (MirrorPolicyForCreateRouteInput) String ¶
func (s MirrorPolicyForCreateRouteInput) String() string
String returns the string representation
type MirrorPolicyForGetRouteOutput ¶
type MirrorPolicyForGetRouteOutput struct {
Percent *PercentForGetRouteOutput `type:"structure" json:",omitempty"`
Upstream *UpstreamForGetRouteOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (MirrorPolicyForGetRouteOutput) GoString ¶
func (s MirrorPolicyForGetRouteOutput) GoString() string
GoString returns the string representation
func (*MirrorPolicyForGetRouteOutput) SetPercent ¶
func (s *MirrorPolicyForGetRouteOutput) SetPercent(v *PercentForGetRouteOutput) *MirrorPolicyForGetRouteOutput
SetPercent sets the Percent field's value.
func (*MirrorPolicyForGetRouteOutput) SetUpstream ¶
func (s *MirrorPolicyForGetRouteOutput) SetUpstream(v *UpstreamForGetRouteOutput) *MirrorPolicyForGetRouteOutput
SetUpstream sets the Upstream field's value.
func (MirrorPolicyForGetRouteOutput) String ¶
func (s MirrorPolicyForGetRouteOutput) String() string
String returns the string representation
type MirrorPolicyForListRoutesOutput ¶
type MirrorPolicyForListRoutesOutput struct {
Percent *PercentForListRoutesOutput `type:"structure" json:",omitempty"`
Upstream *UpstreamForListRoutesOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (MirrorPolicyForListRoutesOutput) GoString ¶
func (s MirrorPolicyForListRoutesOutput) GoString() string
GoString returns the string representation
func (*MirrorPolicyForListRoutesOutput) SetPercent ¶
func (s *MirrorPolicyForListRoutesOutput) SetPercent(v *PercentForListRoutesOutput) *MirrorPolicyForListRoutesOutput
SetPercent sets the Percent field's value.
func (*MirrorPolicyForListRoutesOutput) SetUpstream ¶
func (s *MirrorPolicyForListRoutesOutput) SetUpstream(v *UpstreamForListRoutesOutput) *MirrorPolicyForListRoutesOutput
SetUpstream sets the Upstream field's value.
func (MirrorPolicyForListRoutesOutput) String ¶
func (s MirrorPolicyForListRoutesOutput) String() string
String returns the string representation
type MirrorPolicyForUpdateRouteInput ¶
type MirrorPolicyForUpdateRouteInput struct {
Percent *PercentForUpdateRouteInput `type:"structure" json:",omitempty"`
Upstream *UpstreamForUpdateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (MirrorPolicyForUpdateRouteInput) GoString ¶
func (s MirrorPolicyForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*MirrorPolicyForUpdateRouteInput) SetPercent ¶
func (s *MirrorPolicyForUpdateRouteInput) SetPercent(v *PercentForUpdateRouteInput) *MirrorPolicyForUpdateRouteInput
SetPercent sets the Percent field's value.
func (*MirrorPolicyForUpdateRouteInput) SetUpstream ¶
func (s *MirrorPolicyForUpdateRouteInput) SetUpstream(v *UpstreamForUpdateRouteInput) *MirrorPolicyForUpdateRouteInput
SetUpstream sets the Upstream field's value.
func (MirrorPolicyForUpdateRouteInput) String ¶
func (s MirrorPolicyForUpdateRouteInput) String() string
String returns the string representation
type PathForCreateRouteInput ¶
type PathForCreateRouteInput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (PathForCreateRouteInput) GoString ¶
func (s PathForCreateRouteInput) GoString() string
GoString returns the string representation
func (*PathForCreateRouteInput) SetMatchContent ¶
func (s *PathForCreateRouteInput) SetMatchContent(v string) *PathForCreateRouteInput
SetMatchContent sets the MatchContent field's value.
func (*PathForCreateRouteInput) SetMatchType ¶
func (s *PathForCreateRouteInput) SetMatchType(v string) *PathForCreateRouteInput
SetMatchType sets the MatchType field's value.
func (PathForCreateRouteInput) String ¶
func (s PathForCreateRouteInput) String() string
String returns the string representation
type PathForGetRouteOutput ¶
type PathForGetRouteOutput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (PathForGetRouteOutput) GoString ¶
func (s PathForGetRouteOutput) GoString() string
GoString returns the string representation
func (*PathForGetRouteOutput) SetMatchContent ¶
func (s *PathForGetRouteOutput) SetMatchContent(v string) *PathForGetRouteOutput
SetMatchContent sets the MatchContent field's value.
func (*PathForGetRouteOutput) SetMatchType ¶
func (s *PathForGetRouteOutput) SetMatchType(v string) *PathForGetRouteOutput
SetMatchType sets the MatchType field's value.
func (PathForGetRouteOutput) String ¶
func (s PathForGetRouteOutput) String() string
String returns the string representation
type PathForListRoutesOutput ¶
type PathForListRoutesOutput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (PathForListRoutesOutput) GoString ¶
func (s PathForListRoutesOutput) GoString() string
GoString returns the string representation
func (*PathForListRoutesOutput) SetMatchContent ¶
func (s *PathForListRoutesOutput) SetMatchContent(v string) *PathForListRoutesOutput
SetMatchContent sets the MatchContent field's value.
func (*PathForListRoutesOutput) SetMatchType ¶
func (s *PathForListRoutesOutput) SetMatchType(v string) *PathForListRoutesOutput
SetMatchType sets the MatchType field's value.
func (PathForListRoutesOutput) String ¶
func (s PathForListRoutesOutput) String() string
String returns the string representation
type PathForUpdateRouteInput ¶
type PathForUpdateRouteInput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (PathForUpdateRouteInput) GoString ¶
func (s PathForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*PathForUpdateRouteInput) SetMatchContent ¶
func (s *PathForUpdateRouteInput) SetMatchContent(v string) *PathForUpdateRouteInput
SetMatchContent sets the MatchContent field's value.
func (*PathForUpdateRouteInput) SetMatchType ¶
func (s *PathForUpdateRouteInput) SetMatchType(v string) *PathForUpdateRouteInput
SetMatchType sets the MatchType field's value.
func (PathForUpdateRouteInput) String ¶
func (s PathForUpdateRouteInput) String() string
String returns the string representation
type PercentForCreateRouteInput ¶
type PercentForCreateRouteInput struct {
Value *float64 `type:"double" json:",omitempty"`
// contains filtered or unexported fields
}
func (PercentForCreateRouteInput) GoString ¶
func (s PercentForCreateRouteInput) GoString() string
GoString returns the string representation
func (*PercentForCreateRouteInput) SetValue ¶
func (s *PercentForCreateRouteInput) SetValue(v float64) *PercentForCreateRouteInput
SetValue sets the Value field's value.
func (PercentForCreateRouteInput) String ¶
func (s PercentForCreateRouteInput) String() string
String returns the string representation
type PercentForGetRouteOutput ¶
type PercentForGetRouteOutput struct {
Value *float64 `type:"double" json:",omitempty"`
// contains filtered or unexported fields
}
func (PercentForGetRouteOutput) GoString ¶
func (s PercentForGetRouteOutput) GoString() string
GoString returns the string representation
func (*PercentForGetRouteOutput) SetValue ¶
func (s *PercentForGetRouteOutput) SetValue(v float64) *PercentForGetRouteOutput
SetValue sets the Value field's value.
func (PercentForGetRouteOutput) String ¶
func (s PercentForGetRouteOutput) String() string
String returns the string representation
type PercentForListRoutesOutput ¶
type PercentForListRoutesOutput struct {
Value *float64 `type:"double" json:",omitempty"`
// contains filtered or unexported fields
}
func (PercentForListRoutesOutput) GoString ¶
func (s PercentForListRoutesOutput) GoString() string
GoString returns the string representation
func (*PercentForListRoutesOutput) SetValue ¶
func (s *PercentForListRoutesOutput) SetValue(v float64) *PercentForListRoutesOutput
SetValue sets the Value field's value.
func (PercentForListRoutesOutput) String ¶
func (s PercentForListRoutesOutput) String() string
String returns the string representation
type PercentForUpdateRouteInput ¶
type PercentForUpdateRouteInput struct {
Value *float64 `type:"double" json:",omitempty"`
// contains filtered or unexported fields
}
func (PercentForUpdateRouteInput) GoString ¶
func (s PercentForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*PercentForUpdateRouteInput) SetValue ¶
func (s *PercentForUpdateRouteInput) SetValue(v float64) *PercentForUpdateRouteInput
SetValue sets the Value field's value.
func (PercentForUpdateRouteInput) String ¶
func (s PercentForUpdateRouteInput) String() string
String returns the string representation
type QueryStringForCreateRouteInput ¶
type QueryStringForCreateRouteInput struct {
Key *string `type:"string" json:",omitempty"`
Value *PathForCreateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (QueryStringForCreateRouteInput) GoString ¶
func (s QueryStringForCreateRouteInput) GoString() string
GoString returns the string representation
func (*QueryStringForCreateRouteInput) SetKey ¶
func (s *QueryStringForCreateRouteInput) SetKey(v string) *QueryStringForCreateRouteInput
SetKey sets the Key field's value.
func (*QueryStringForCreateRouteInput) SetValue ¶
func (s *QueryStringForCreateRouteInput) SetValue(v *PathForCreateRouteInput) *QueryStringForCreateRouteInput
SetValue sets the Value field's value.
func (QueryStringForCreateRouteInput) String ¶
func (s QueryStringForCreateRouteInput) String() string
String returns the string representation
type QueryStringForGetRouteOutput ¶
type QueryStringForGetRouteOutput struct {
Key *string `type:"string" json:",omitempty"`
Value *PathForGetRouteOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (QueryStringForGetRouteOutput) GoString ¶
func (s QueryStringForGetRouteOutput) GoString() string
GoString returns the string representation
func (*QueryStringForGetRouteOutput) SetKey ¶
func (s *QueryStringForGetRouteOutput) SetKey(v string) *QueryStringForGetRouteOutput
SetKey sets the Key field's value.
func (*QueryStringForGetRouteOutput) SetValue ¶
func (s *QueryStringForGetRouteOutput) SetValue(v *PathForGetRouteOutput) *QueryStringForGetRouteOutput
SetValue sets the Value field's value.
func (QueryStringForGetRouteOutput) String ¶
func (s QueryStringForGetRouteOutput) String() string
String returns the string representation
type QueryStringForListRoutesOutput ¶
type QueryStringForListRoutesOutput struct {
Key *string `type:"string" json:",omitempty"`
Value *PathForListRoutesOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (QueryStringForListRoutesOutput) GoString ¶
func (s QueryStringForListRoutesOutput) GoString() string
GoString returns the string representation
func (*QueryStringForListRoutesOutput) SetKey ¶
func (s *QueryStringForListRoutesOutput) SetKey(v string) *QueryStringForListRoutesOutput
SetKey sets the Key field's value.
func (*QueryStringForListRoutesOutput) SetValue ¶
func (s *QueryStringForListRoutesOutput) SetValue(v *PathForListRoutesOutput) *QueryStringForListRoutesOutput
SetValue sets the Value field's value.
func (QueryStringForListRoutesOutput) String ¶
func (s QueryStringForListRoutesOutput) String() string
String returns the string representation
type QueryStringForUpdateRouteInput ¶
type QueryStringForUpdateRouteInput struct {
Key *string `type:"string" json:",omitempty"`
Value *PathForUpdateRouteInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (QueryStringForUpdateRouteInput) GoString ¶
func (s QueryStringForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*QueryStringForUpdateRouteInput) SetKey ¶
func (s *QueryStringForUpdateRouteInput) SetKey(v string) *QueryStringForUpdateRouteInput
SetKey sets the Key field's value.
func (*QueryStringForUpdateRouteInput) SetValue ¶
func (s *QueryStringForUpdateRouteInput) SetValue(v *PathForUpdateRouteInput) *QueryStringForUpdateRouteInput
SetValue sets the Value field's value.
func (QueryStringForUpdateRouteInput) String ¶
func (s QueryStringForUpdateRouteInput) String() string
String returns the string representation
type RetryPolicySettingForCreateRouteInput ¶
type RetryPolicySettingForCreateRouteInput struct {
Attempts *int64 `type:"int64" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
HttpCodes []*string `type:"list" json:",omitempty"`
PerTryTimeout *int64 `type:"int64" json:",omitempty"`
RetryOn []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (RetryPolicySettingForCreateRouteInput) GoString ¶
func (s RetryPolicySettingForCreateRouteInput) GoString() string
GoString returns the string representation
func (*RetryPolicySettingForCreateRouteInput) SetAttempts ¶
func (s *RetryPolicySettingForCreateRouteInput) SetAttempts(v int64) *RetryPolicySettingForCreateRouteInput
SetAttempts sets the Attempts field's value.
func (*RetryPolicySettingForCreateRouteInput) SetEnable ¶
func (s *RetryPolicySettingForCreateRouteInput) SetEnable(v bool) *RetryPolicySettingForCreateRouteInput
SetEnable sets the Enable field's value.
func (*RetryPolicySettingForCreateRouteInput) SetHttpCodes ¶
func (s *RetryPolicySettingForCreateRouteInput) SetHttpCodes(v []*string) *RetryPolicySettingForCreateRouteInput
SetHttpCodes sets the HttpCodes field's value.
func (*RetryPolicySettingForCreateRouteInput) SetPerTryTimeout ¶
func (s *RetryPolicySettingForCreateRouteInput) SetPerTryTimeout(v int64) *RetryPolicySettingForCreateRouteInput
SetPerTryTimeout sets the PerTryTimeout field's value.
func (*RetryPolicySettingForCreateRouteInput) SetRetryOn ¶
func (s *RetryPolicySettingForCreateRouteInput) SetRetryOn(v []*string) *RetryPolicySettingForCreateRouteInput
SetRetryOn sets the RetryOn field's value.
func (RetryPolicySettingForCreateRouteInput) String ¶
func (s RetryPolicySettingForCreateRouteInput) String() string
String returns the string representation
type RetryPolicySettingForGetRouteOutput ¶
type RetryPolicySettingForGetRouteOutput struct {
Attempts *int64 `type:"int64" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
HttpCodes []*string `type:"list" json:",omitempty"`
PerTryTimeout *int64 `type:"int64" json:",omitempty"`
RetryOn []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (RetryPolicySettingForGetRouteOutput) GoString ¶
func (s RetryPolicySettingForGetRouteOutput) GoString() string
GoString returns the string representation
func (*RetryPolicySettingForGetRouteOutput) SetAttempts ¶
func (s *RetryPolicySettingForGetRouteOutput) SetAttempts(v int64) *RetryPolicySettingForGetRouteOutput
SetAttempts sets the Attempts field's value.
func (*RetryPolicySettingForGetRouteOutput) SetEnable ¶
func (s *RetryPolicySettingForGetRouteOutput) SetEnable(v bool) *RetryPolicySettingForGetRouteOutput
SetEnable sets the Enable field's value.
func (*RetryPolicySettingForGetRouteOutput) SetHttpCodes ¶
func (s *RetryPolicySettingForGetRouteOutput) SetHttpCodes(v []*string) *RetryPolicySettingForGetRouteOutput
SetHttpCodes sets the HttpCodes field's value.
func (*RetryPolicySettingForGetRouteOutput) SetPerTryTimeout ¶
func (s *RetryPolicySettingForGetRouteOutput) SetPerTryTimeout(v int64) *RetryPolicySettingForGetRouteOutput
SetPerTryTimeout sets the PerTryTimeout field's value.
func (*RetryPolicySettingForGetRouteOutput) SetRetryOn ¶
func (s *RetryPolicySettingForGetRouteOutput) SetRetryOn(v []*string) *RetryPolicySettingForGetRouteOutput
SetRetryOn sets the RetryOn field's value.
func (RetryPolicySettingForGetRouteOutput) String ¶
func (s RetryPolicySettingForGetRouteOutput) String() string
String returns the string representation
type RetryPolicySettingForListRoutesOutput ¶
type RetryPolicySettingForListRoutesOutput struct {
Attempts *int64 `type:"int64" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
HttpCodes []*string `type:"list" json:",omitempty"`
PerTryTimeout *int64 `type:"int64" json:",omitempty"`
RetryOn []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (RetryPolicySettingForListRoutesOutput) GoString ¶
func (s RetryPolicySettingForListRoutesOutput) GoString() string
GoString returns the string representation
func (*RetryPolicySettingForListRoutesOutput) SetAttempts ¶
func (s *RetryPolicySettingForListRoutesOutput) SetAttempts(v int64) *RetryPolicySettingForListRoutesOutput
SetAttempts sets the Attempts field's value.
func (*RetryPolicySettingForListRoutesOutput) SetEnable ¶
func (s *RetryPolicySettingForListRoutesOutput) SetEnable(v bool) *RetryPolicySettingForListRoutesOutput
SetEnable sets the Enable field's value.
func (*RetryPolicySettingForListRoutesOutput) SetHttpCodes ¶
func (s *RetryPolicySettingForListRoutesOutput) SetHttpCodes(v []*string) *RetryPolicySettingForListRoutesOutput
SetHttpCodes sets the HttpCodes field's value.
func (*RetryPolicySettingForListRoutesOutput) SetPerTryTimeout ¶
func (s *RetryPolicySettingForListRoutesOutput) SetPerTryTimeout(v int64) *RetryPolicySettingForListRoutesOutput
SetPerTryTimeout sets the PerTryTimeout field's value.
func (*RetryPolicySettingForListRoutesOutput) SetRetryOn ¶
func (s *RetryPolicySettingForListRoutesOutput) SetRetryOn(v []*string) *RetryPolicySettingForListRoutesOutput
SetRetryOn sets the RetryOn field's value.
func (RetryPolicySettingForListRoutesOutput) String ¶
func (s RetryPolicySettingForListRoutesOutput) String() string
String returns the string representation
type RetryPolicySettingForUpdateRouteInput ¶
type RetryPolicySettingForUpdateRouteInput struct {
Attempts *int64 `type:"int64" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
HttpCodes []*string `type:"list" json:",omitempty"`
PerTryTimeout *int64 `type:"int64" json:",omitempty"`
RetryOn []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (RetryPolicySettingForUpdateRouteInput) GoString ¶
func (s RetryPolicySettingForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*RetryPolicySettingForUpdateRouteInput) SetAttempts ¶
func (s *RetryPolicySettingForUpdateRouteInput) SetAttempts(v int64) *RetryPolicySettingForUpdateRouteInput
SetAttempts sets the Attempts field's value.
func (*RetryPolicySettingForUpdateRouteInput) SetEnable ¶
func (s *RetryPolicySettingForUpdateRouteInput) SetEnable(v bool) *RetryPolicySettingForUpdateRouteInput
SetEnable sets the Enable field's value.
func (*RetryPolicySettingForUpdateRouteInput) SetHttpCodes ¶
func (s *RetryPolicySettingForUpdateRouteInput) SetHttpCodes(v []*string) *RetryPolicySettingForUpdateRouteInput
SetHttpCodes sets the HttpCodes field's value.
func (*RetryPolicySettingForUpdateRouteInput) SetPerTryTimeout ¶
func (s *RetryPolicySettingForUpdateRouteInput) SetPerTryTimeout(v int64) *RetryPolicySettingForUpdateRouteInput
SetPerTryTimeout sets the PerTryTimeout field's value.
func (*RetryPolicySettingForUpdateRouteInput) SetRetryOn ¶
func (s *RetryPolicySettingForUpdateRouteInput) SetRetryOn(v []*string) *RetryPolicySettingForUpdateRouteInput
SetRetryOn sets the RetryOn field's value.
func (RetryPolicySettingForUpdateRouteInput) String ¶
func (s RetryPolicySettingForUpdateRouteInput) String() string
String returns the string representation
type RouteForGetRouteOutput ¶
type RouteForGetRouteOutput struct {
AdvancedSetting *AdvancedSettingForGetRouteOutput `type:"structure" json:",omitempty"`
CreateTime *string `type:"string" json:",omitempty"`
CustomDomains []*CustomDomainForGetRouteOutput `type:"list" json:",omitempty"`
Domains []*DomainForGetRouteOutput `type:"list" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackSetting *FallbackSettingForGetRouteOutput `type:"structure" json:",omitempty"`
Id *string `type:"string" json:",omitempty"`
MatchRule *MatchRuleForGetRouteOutput `type:"structure" json:",omitempty"`
Name *string `type:"string" json:",omitempty"`
Priority *int64 `type:"int64" json:",omitempty"`
Reason *string `type:"string" json:",omitempty"`
ServiceId *string `type:"string" json:",omitempty"`
ServiceName *string `type:"string" json:",omitempty"`
Status *string `type:"string" json:",omitempty"`
UpdateTime *string `type:"string" json:",omitempty"`
UpstreamList []*UpstreamListForGetRouteOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (RouteForGetRouteOutput) GoString ¶
func (s RouteForGetRouteOutput) GoString() string
GoString returns the string representation
func (*RouteForGetRouteOutput) SetAdvancedSetting ¶
func (s *RouteForGetRouteOutput) SetAdvancedSetting(v *AdvancedSettingForGetRouteOutput) *RouteForGetRouteOutput
SetAdvancedSetting sets the AdvancedSetting field's value.
func (*RouteForGetRouteOutput) SetCreateTime ¶
func (s *RouteForGetRouteOutput) SetCreateTime(v string) *RouteForGetRouteOutput
SetCreateTime sets the CreateTime field's value.
func (*RouteForGetRouteOutput) SetCustomDomains ¶
func (s *RouteForGetRouteOutput) SetCustomDomains(v []*CustomDomainForGetRouteOutput) *RouteForGetRouteOutput
SetCustomDomains sets the CustomDomains field's value.
func (*RouteForGetRouteOutput) SetDomains ¶
func (s *RouteForGetRouteOutput) SetDomains(v []*DomainForGetRouteOutput) *RouteForGetRouteOutput
SetDomains sets the Domains field's value.
func (*RouteForGetRouteOutput) SetEnable ¶
func (s *RouteForGetRouteOutput) SetEnable(v bool) *RouteForGetRouteOutput
SetEnable sets the Enable field's value.
func (*RouteForGetRouteOutput) SetFallbackSetting ¶
func (s *RouteForGetRouteOutput) SetFallbackSetting(v *FallbackSettingForGetRouteOutput) *RouteForGetRouteOutput
SetFallbackSetting sets the FallbackSetting field's value.
func (*RouteForGetRouteOutput) SetId ¶
func (s *RouteForGetRouteOutput) SetId(v string) *RouteForGetRouteOutput
SetId sets the Id field's value.
func (*RouteForGetRouteOutput) SetMatchRule ¶
func (s *RouteForGetRouteOutput) SetMatchRule(v *MatchRuleForGetRouteOutput) *RouteForGetRouteOutput
SetMatchRule sets the MatchRule field's value.
func (*RouteForGetRouteOutput) SetName ¶
func (s *RouteForGetRouteOutput) SetName(v string) *RouteForGetRouteOutput
SetName sets the Name field's value.
func (*RouteForGetRouteOutput) SetPriority ¶
func (s *RouteForGetRouteOutput) SetPriority(v int64) *RouteForGetRouteOutput
SetPriority sets the Priority field's value.
func (*RouteForGetRouteOutput) SetReason ¶
func (s *RouteForGetRouteOutput) SetReason(v string) *RouteForGetRouteOutput
SetReason sets the Reason field's value.
func (*RouteForGetRouteOutput) SetServiceId ¶
func (s *RouteForGetRouteOutput) SetServiceId(v string) *RouteForGetRouteOutput
SetServiceId sets the ServiceId field's value.
func (*RouteForGetRouteOutput) SetServiceName ¶
func (s *RouteForGetRouteOutput) SetServiceName(v string) *RouteForGetRouteOutput
SetServiceName sets the ServiceName field's value.
func (*RouteForGetRouteOutput) SetStatus ¶
func (s *RouteForGetRouteOutput) SetStatus(v string) *RouteForGetRouteOutput
SetStatus sets the Status field's value.
func (*RouteForGetRouteOutput) SetUpdateTime ¶
func (s *RouteForGetRouteOutput) SetUpdateTime(v string) *RouteForGetRouteOutput
SetUpdateTime sets the UpdateTime field's value.
func (*RouteForGetRouteOutput) SetUpstreamList ¶
func (s *RouteForGetRouteOutput) SetUpstreamList(v []*UpstreamListForGetRouteOutput) *RouteForGetRouteOutput
SetUpstreamList sets the UpstreamList field's value.
func (RouteForGetRouteOutput) String ¶
func (s RouteForGetRouteOutput) String() string
String returns the string representation
type TimeoutSettingForCreateRouteInput ¶
type TimeoutSettingForCreateRouteInput struct {
Enable *bool `type:"boolean" json:",omitempty"`
Timeout *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (TimeoutSettingForCreateRouteInput) GoString ¶
func (s TimeoutSettingForCreateRouteInput) GoString() string
GoString returns the string representation
func (*TimeoutSettingForCreateRouteInput) SetEnable ¶
func (s *TimeoutSettingForCreateRouteInput) SetEnable(v bool) *TimeoutSettingForCreateRouteInput
SetEnable sets the Enable field's value.
func (*TimeoutSettingForCreateRouteInput) SetTimeout ¶
func (s *TimeoutSettingForCreateRouteInput) SetTimeout(v int64) *TimeoutSettingForCreateRouteInput
SetTimeout sets the Timeout field's value.
func (TimeoutSettingForCreateRouteInput) String ¶
func (s TimeoutSettingForCreateRouteInput) String() string
String returns the string representation
type TimeoutSettingForGetRouteOutput ¶
type TimeoutSettingForGetRouteOutput struct {
Enable *bool `type:"boolean" json:",omitempty"`
Timeout *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (TimeoutSettingForGetRouteOutput) GoString ¶
func (s TimeoutSettingForGetRouteOutput) GoString() string
GoString returns the string representation
func (*TimeoutSettingForGetRouteOutput) SetEnable ¶
func (s *TimeoutSettingForGetRouteOutput) SetEnable(v bool) *TimeoutSettingForGetRouteOutput
SetEnable sets the Enable field's value.
func (*TimeoutSettingForGetRouteOutput) SetTimeout ¶
func (s *TimeoutSettingForGetRouteOutput) SetTimeout(v int64) *TimeoutSettingForGetRouteOutput
SetTimeout sets the Timeout field's value.
func (TimeoutSettingForGetRouteOutput) String ¶
func (s TimeoutSettingForGetRouteOutput) String() string
String returns the string representation
type TimeoutSettingForListRoutesOutput ¶
type TimeoutSettingForListRoutesOutput struct {
Enable *bool `type:"boolean" json:",omitempty"`
Timeout *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (TimeoutSettingForListRoutesOutput) GoString ¶
func (s TimeoutSettingForListRoutesOutput) GoString() string
GoString returns the string representation
func (*TimeoutSettingForListRoutesOutput) SetEnable ¶
func (s *TimeoutSettingForListRoutesOutput) SetEnable(v bool) *TimeoutSettingForListRoutesOutput
SetEnable sets the Enable field's value.
func (*TimeoutSettingForListRoutesOutput) SetTimeout ¶
func (s *TimeoutSettingForListRoutesOutput) SetTimeout(v int64) *TimeoutSettingForListRoutesOutput
SetTimeout sets the Timeout field's value.
func (TimeoutSettingForListRoutesOutput) String ¶
func (s TimeoutSettingForListRoutesOutput) String() string
String returns the string representation
type TimeoutSettingForUpdateRouteInput ¶
type TimeoutSettingForUpdateRouteInput struct {
Enable *bool `type:"boolean" json:",omitempty"`
Timeout *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (TimeoutSettingForUpdateRouteInput) GoString ¶
func (s TimeoutSettingForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*TimeoutSettingForUpdateRouteInput) SetEnable ¶
func (s *TimeoutSettingForUpdateRouteInput) SetEnable(v bool) *TimeoutSettingForUpdateRouteInput
SetEnable sets the Enable field's value.
func (*TimeoutSettingForUpdateRouteInput) SetTimeout ¶
func (s *TimeoutSettingForUpdateRouteInput) SetTimeout(v int64) *TimeoutSettingForUpdateRouteInput
SetTimeout sets the Timeout field's value.
func (TimeoutSettingForUpdateRouteInput) String ¶
func (s TimeoutSettingForUpdateRouteInput) String() string
String returns the string representation
type URLRewriteSettingForCreateRouteInput ¶
type URLRewriteSettingForCreateRouteInput struct {
Enable *bool `type:"boolean" json:",omitempty"`
URLRewrite *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (URLRewriteSettingForCreateRouteInput) GoString ¶
func (s URLRewriteSettingForCreateRouteInput) GoString() string
GoString returns the string representation
func (*URLRewriteSettingForCreateRouteInput) SetEnable ¶
func (s *URLRewriteSettingForCreateRouteInput) SetEnable(v bool) *URLRewriteSettingForCreateRouteInput
SetEnable sets the Enable field's value.
func (*URLRewriteSettingForCreateRouteInput) SetURLRewrite ¶
func (s *URLRewriteSettingForCreateRouteInput) SetURLRewrite(v string) *URLRewriteSettingForCreateRouteInput
SetURLRewrite sets the URLRewrite field's value.
func (URLRewriteSettingForCreateRouteInput) String ¶
func (s URLRewriteSettingForCreateRouteInput) String() string
String returns the string representation
type URLRewriteSettingForGetRouteOutput ¶
type URLRewriteSettingForGetRouteOutput struct {
Enable *bool `type:"boolean" json:",omitempty"`
URLRewrite *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (URLRewriteSettingForGetRouteOutput) GoString ¶
func (s URLRewriteSettingForGetRouteOutput) GoString() string
GoString returns the string representation
func (*URLRewriteSettingForGetRouteOutput) SetEnable ¶
func (s *URLRewriteSettingForGetRouteOutput) SetEnable(v bool) *URLRewriteSettingForGetRouteOutput
SetEnable sets the Enable field's value.
func (*URLRewriteSettingForGetRouteOutput) SetURLRewrite ¶
func (s *URLRewriteSettingForGetRouteOutput) SetURLRewrite(v string) *URLRewriteSettingForGetRouteOutput
SetURLRewrite sets the URLRewrite field's value.
func (URLRewriteSettingForGetRouteOutput) String ¶
func (s URLRewriteSettingForGetRouteOutput) String() string
String returns the string representation
type URLRewriteSettingForListRoutesOutput ¶
type URLRewriteSettingForListRoutesOutput struct {
Enable *bool `type:"boolean" json:",omitempty"`
URLRewrite *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (URLRewriteSettingForListRoutesOutput) GoString ¶
func (s URLRewriteSettingForListRoutesOutput) GoString() string
GoString returns the string representation
func (*URLRewriteSettingForListRoutesOutput) SetEnable ¶
func (s *URLRewriteSettingForListRoutesOutput) SetEnable(v bool) *URLRewriteSettingForListRoutesOutput
SetEnable sets the Enable field's value.
func (*URLRewriteSettingForListRoutesOutput) SetURLRewrite ¶
func (s *URLRewriteSettingForListRoutesOutput) SetURLRewrite(v string) *URLRewriteSettingForListRoutesOutput
SetURLRewrite sets the URLRewrite field's value.
func (URLRewriteSettingForListRoutesOutput) String ¶
func (s URLRewriteSettingForListRoutesOutput) String() string
String returns the string representation
type URLRewriteSettingForUpdateRouteInput ¶
type URLRewriteSettingForUpdateRouteInput struct {
Enable *bool `type:"boolean" json:",omitempty"`
URLRewrite *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (URLRewriteSettingForUpdateRouteInput) GoString ¶
func (s URLRewriteSettingForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*URLRewriteSettingForUpdateRouteInput) SetEnable ¶
func (s *URLRewriteSettingForUpdateRouteInput) SetEnable(v bool) *URLRewriteSettingForUpdateRouteInput
SetEnable sets the Enable field's value.
func (*URLRewriteSettingForUpdateRouteInput) SetURLRewrite ¶
func (s *URLRewriteSettingForUpdateRouteInput) SetURLRewrite(v string) *URLRewriteSettingForUpdateRouteInput
SetURLRewrite sets the URLRewrite field's value.
func (URLRewriteSettingForUpdateRouteInput) String ¶
func (s URLRewriteSettingForUpdateRouteInput) String() string
String returns the string representation
type UpdateRouteInput ¶
type UpdateRouteInput struct {
AdvancedSetting *AdvancedSettingForUpdateRouteInput `type:"structure" json:",omitempty"`
Enable *bool `type:"boolean" json:",omitempty"`
FallbackSetting *FallbackSettingForUpdateRouteInput `type:"structure" json:",omitempty"`
// Id is a required field
Id *string `type:"string" json:",omitempty" required:"true"`
MatchRule *MatchRuleForUpdateRouteInput `type:"structure" json:",omitempty"`
// Name is a required field
Name *string `type:"string" json:",omitempty" required:"true"`
Priority *int64 `type:"int64" json:",omitempty"`
UpstreamList []*UpstreamListForUpdateRouteInput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpdateRouteInput) GoString ¶
func (s UpdateRouteInput) GoString() string
GoString returns the string representation
func (*UpdateRouteInput) SetAdvancedSetting ¶
func (s *UpdateRouteInput) SetAdvancedSetting(v *AdvancedSettingForUpdateRouteInput) *UpdateRouteInput
SetAdvancedSetting sets the AdvancedSetting field's value.
func (*UpdateRouteInput) SetEnable ¶
func (s *UpdateRouteInput) SetEnable(v bool) *UpdateRouteInput
SetEnable sets the Enable field's value.
func (*UpdateRouteInput) SetFallbackSetting ¶
func (s *UpdateRouteInput) SetFallbackSetting(v *FallbackSettingForUpdateRouteInput) *UpdateRouteInput
SetFallbackSetting sets the FallbackSetting field's value.
func (*UpdateRouteInput) SetId ¶
func (s *UpdateRouteInput) SetId(v string) *UpdateRouteInput
SetId sets the Id field's value.
func (*UpdateRouteInput) SetMatchRule ¶
func (s *UpdateRouteInput) SetMatchRule(v *MatchRuleForUpdateRouteInput) *UpdateRouteInput
SetMatchRule sets the MatchRule field's value.
func (*UpdateRouteInput) SetName ¶
func (s *UpdateRouteInput) SetName(v string) *UpdateRouteInput
SetName sets the Name field's value.
func (*UpdateRouteInput) SetPriority ¶
func (s *UpdateRouteInput) SetPriority(v int64) *UpdateRouteInput
SetPriority sets the Priority field's value.
func (*UpdateRouteInput) SetUpstreamList ¶
func (s *UpdateRouteInput) SetUpstreamList(v []*UpstreamListForUpdateRouteInput) *UpdateRouteInput
SetUpstreamList sets the UpstreamList field's value.
func (UpdateRouteInput) String ¶
func (s UpdateRouteInput) String() string
String returns the string representation
func (*UpdateRouteInput) Validate ¶
func (s *UpdateRouteInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRouteOutput ¶
type UpdateRouteOutput struct {
Metadata *response.ResponseMetadata
Id *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpdateRouteOutput) GoString ¶
func (s UpdateRouteOutput) GoString() string
GoString returns the string representation
func (*UpdateRouteOutput) SetId ¶
func (s *UpdateRouteOutput) SetId(v string) *UpdateRouteOutput
SetId sets the Id field's value.
func (UpdateRouteOutput) String ¶
func (s UpdateRouteOutput) String() string
String returns the string representation
type UpstreamForCreateRouteInput ¶
type UpstreamForCreateRouteInput struct {
Type *string `type:"string" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamForCreateRouteInput) GoString ¶
func (s UpstreamForCreateRouteInput) GoString() string
GoString returns the string representation
func (*UpstreamForCreateRouteInput) SetType ¶
func (s *UpstreamForCreateRouteInput) SetType(v string) *UpstreamForCreateRouteInput
SetType sets the Type field's value.
func (*UpstreamForCreateRouteInput) SetUpstreamId ¶
func (s *UpstreamForCreateRouteInput) SetUpstreamId(v string) *UpstreamForCreateRouteInput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamForCreateRouteInput) SetVersion ¶
func (s *UpstreamForCreateRouteInput) SetVersion(v string) *UpstreamForCreateRouteInput
SetVersion sets the Version field's value.
func (UpstreamForCreateRouteInput) String ¶
func (s UpstreamForCreateRouteInput) String() string
String returns the string representation
type UpstreamForGetRouteOutput ¶
type UpstreamForGetRouteOutput struct {
Type *string `type:"string" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamForGetRouteOutput) GoString ¶
func (s UpstreamForGetRouteOutput) GoString() string
GoString returns the string representation
func (*UpstreamForGetRouteOutput) SetType ¶
func (s *UpstreamForGetRouteOutput) SetType(v string) *UpstreamForGetRouteOutput
SetType sets the Type field's value.
func (*UpstreamForGetRouteOutput) SetUpstreamId ¶
func (s *UpstreamForGetRouteOutput) SetUpstreamId(v string) *UpstreamForGetRouteOutput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamForGetRouteOutput) SetVersion ¶
func (s *UpstreamForGetRouteOutput) SetVersion(v string) *UpstreamForGetRouteOutput
SetVersion sets the Version field's value.
func (UpstreamForGetRouteOutput) String ¶
func (s UpstreamForGetRouteOutput) String() string
String returns the string representation
type UpstreamForListRoutesOutput ¶
type UpstreamForListRoutesOutput struct {
Type *string `type:"string" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamForListRoutesOutput) GoString ¶
func (s UpstreamForListRoutesOutput) GoString() string
GoString returns the string representation
func (*UpstreamForListRoutesOutput) SetType ¶
func (s *UpstreamForListRoutesOutput) SetType(v string) *UpstreamForListRoutesOutput
SetType sets the Type field's value.
func (*UpstreamForListRoutesOutput) SetUpstreamId ¶
func (s *UpstreamForListRoutesOutput) SetUpstreamId(v string) *UpstreamForListRoutesOutput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamForListRoutesOutput) SetVersion ¶
func (s *UpstreamForListRoutesOutput) SetVersion(v string) *UpstreamForListRoutesOutput
SetVersion sets the Version field's value.
func (UpstreamForListRoutesOutput) String ¶
func (s UpstreamForListRoutesOutput) String() string
String returns the string representation
type UpstreamForUpdateRouteInput ¶
type UpstreamForUpdateRouteInput struct {
Type *string `type:"string" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamForUpdateRouteInput) GoString ¶
func (s UpstreamForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*UpstreamForUpdateRouteInput) SetType ¶
func (s *UpstreamForUpdateRouteInput) SetType(v string) *UpstreamForUpdateRouteInput
SetType sets the Type field's value.
func (*UpstreamForUpdateRouteInput) SetUpstreamId ¶
func (s *UpstreamForUpdateRouteInput) SetUpstreamId(v string) *UpstreamForUpdateRouteInput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamForUpdateRouteInput) SetVersion ¶
func (s *UpstreamForUpdateRouteInput) SetVersion(v string) *UpstreamForUpdateRouteInput
SetVersion sets the Version field's value.
func (UpstreamForUpdateRouteInput) String ¶
func (s UpstreamForUpdateRouteInput) String() string
String returns the string representation
type UpstreamListForCreateRouteInput ¶
type UpstreamListForCreateRouteInput struct {
AIProviderSettings *AIProviderSettingsForCreateRouteInput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamListForCreateRouteInput) GoString ¶
func (s UpstreamListForCreateRouteInput) GoString() string
GoString returns the string representation
func (*UpstreamListForCreateRouteInput) SetAIProviderSettings ¶
func (s *UpstreamListForCreateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForCreateRouteInput) *UpstreamListForCreateRouteInput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*UpstreamListForCreateRouteInput) SetUpstreamId ¶
func (s *UpstreamListForCreateRouteInput) SetUpstreamId(v string) *UpstreamListForCreateRouteInput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamListForCreateRouteInput) SetVersion ¶
func (s *UpstreamListForCreateRouteInput) SetVersion(v string) *UpstreamListForCreateRouteInput
SetVersion sets the Version field's value.
func (*UpstreamListForCreateRouteInput) SetWeight ¶
func (s *UpstreamListForCreateRouteInput) SetWeight(v int32) *UpstreamListForCreateRouteInput
SetWeight sets the Weight field's value.
func (UpstreamListForCreateRouteInput) String ¶
func (s UpstreamListForCreateRouteInput) String() string
String returns the string representation
type UpstreamListForGetRouteOutput ¶
type UpstreamListForGetRouteOutput struct {
AIProviderSettings *AIProviderSettingsForGetRouteOutput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamListForGetRouteOutput) GoString ¶
func (s UpstreamListForGetRouteOutput) GoString() string
GoString returns the string representation
func (*UpstreamListForGetRouteOutput) SetAIProviderSettings ¶
func (s *UpstreamListForGetRouteOutput) SetAIProviderSettings(v *AIProviderSettingsForGetRouteOutput) *UpstreamListForGetRouteOutput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*UpstreamListForGetRouteOutput) SetUpstreamId ¶
func (s *UpstreamListForGetRouteOutput) SetUpstreamId(v string) *UpstreamListForGetRouteOutput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamListForGetRouteOutput) SetVersion ¶
func (s *UpstreamListForGetRouteOutput) SetVersion(v string) *UpstreamListForGetRouteOutput
SetVersion sets the Version field's value.
func (*UpstreamListForGetRouteOutput) SetWeight ¶
func (s *UpstreamListForGetRouteOutput) SetWeight(v int32) *UpstreamListForGetRouteOutput
SetWeight sets the Weight field's value.
func (UpstreamListForGetRouteOutput) String ¶
func (s UpstreamListForGetRouteOutput) String() string
String returns the string representation
type UpstreamListForListRoutesOutput ¶
type UpstreamListForListRoutesOutput struct {
AIProviderSettings *AIProviderSettingsForListRoutesOutput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamListForListRoutesOutput) GoString ¶
func (s UpstreamListForListRoutesOutput) GoString() string
GoString returns the string representation
func (*UpstreamListForListRoutesOutput) SetAIProviderSettings ¶
func (s *UpstreamListForListRoutesOutput) SetAIProviderSettings(v *AIProviderSettingsForListRoutesOutput) *UpstreamListForListRoutesOutput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*UpstreamListForListRoutesOutput) SetUpstreamId ¶
func (s *UpstreamListForListRoutesOutput) SetUpstreamId(v string) *UpstreamListForListRoutesOutput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamListForListRoutesOutput) SetVersion ¶
func (s *UpstreamListForListRoutesOutput) SetVersion(v string) *UpstreamListForListRoutesOutput
SetVersion sets the Version field's value.
func (*UpstreamListForListRoutesOutput) SetWeight ¶
func (s *UpstreamListForListRoutesOutput) SetWeight(v int32) *UpstreamListForListRoutesOutput
SetWeight sets the Weight field's value.
func (UpstreamListForListRoutesOutput) String ¶
func (s UpstreamListForListRoutesOutput) String() string
String returns the string representation
type UpstreamListForUpdateRouteInput ¶
type UpstreamListForUpdateRouteInput struct {
AIProviderSettings *AIProviderSettingsForUpdateRouteInput `type:"structure" json:",omitempty"`
UpstreamId *string `type:"string" json:",omitempty"`
Version *string `type:"string" json:",omitempty"`
Weight *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpstreamListForUpdateRouteInput) GoString ¶
func (s UpstreamListForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*UpstreamListForUpdateRouteInput) SetAIProviderSettings ¶
func (s *UpstreamListForUpdateRouteInput) SetAIProviderSettings(v *AIProviderSettingsForUpdateRouteInput) *UpstreamListForUpdateRouteInput
SetAIProviderSettings sets the AIProviderSettings field's value.
func (*UpstreamListForUpdateRouteInput) SetUpstreamId ¶
func (s *UpstreamListForUpdateRouteInput) SetUpstreamId(v string) *UpstreamListForUpdateRouteInput
SetUpstreamId sets the UpstreamId field's value.
func (*UpstreamListForUpdateRouteInput) SetVersion ¶
func (s *UpstreamListForUpdateRouteInput) SetVersion(v string) *UpstreamListForUpdateRouteInput
SetVersion sets the Version field's value.
func (*UpstreamListForUpdateRouteInput) SetWeight ¶
func (s *UpstreamListForUpdateRouteInput) SetWeight(v int32) *UpstreamListForUpdateRouteInput
SetWeight sets the Weight field's value.
func (UpstreamListForUpdateRouteInput) String ¶
func (s UpstreamListForUpdateRouteInput) String() string
String returns the string representation
type ValueForCreateRouteInput ¶
type ValueForCreateRouteInput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ValueForCreateRouteInput) GoString ¶
func (s ValueForCreateRouteInput) GoString() string
GoString returns the string representation
func (*ValueForCreateRouteInput) SetMatchContent ¶
func (s *ValueForCreateRouteInput) SetMatchContent(v string) *ValueForCreateRouteInput
SetMatchContent sets the MatchContent field's value.
func (*ValueForCreateRouteInput) SetMatchType ¶
func (s *ValueForCreateRouteInput) SetMatchType(v string) *ValueForCreateRouteInput
SetMatchType sets the MatchType field's value.
func (ValueForCreateRouteInput) String ¶
func (s ValueForCreateRouteInput) String() string
String returns the string representation
type ValueForGetRouteOutput ¶
type ValueForGetRouteOutput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ValueForGetRouteOutput) GoString ¶
func (s ValueForGetRouteOutput) GoString() string
GoString returns the string representation
func (*ValueForGetRouteOutput) SetMatchContent ¶
func (s *ValueForGetRouteOutput) SetMatchContent(v string) *ValueForGetRouteOutput
SetMatchContent sets the MatchContent field's value.
func (*ValueForGetRouteOutput) SetMatchType ¶
func (s *ValueForGetRouteOutput) SetMatchType(v string) *ValueForGetRouteOutput
SetMatchType sets the MatchType field's value.
func (ValueForGetRouteOutput) String ¶
func (s ValueForGetRouteOutput) String() string
String returns the string representation
type ValueForListRoutesOutput ¶
type ValueForListRoutesOutput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ValueForListRoutesOutput) GoString ¶
func (s ValueForListRoutesOutput) GoString() string
GoString returns the string representation
func (*ValueForListRoutesOutput) SetMatchContent ¶
func (s *ValueForListRoutesOutput) SetMatchContent(v string) *ValueForListRoutesOutput
SetMatchContent sets the MatchContent field's value.
func (*ValueForListRoutesOutput) SetMatchType ¶
func (s *ValueForListRoutesOutput) SetMatchType(v string) *ValueForListRoutesOutput
SetMatchType sets the MatchType field's value.
func (ValueForListRoutesOutput) String ¶
func (s ValueForListRoutesOutput) String() string
String returns the string representation
type ValueForUpdateRouteInput ¶
type ValueForUpdateRouteInput struct {
MatchContent *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ValueForUpdateRouteInput) GoString ¶
func (s ValueForUpdateRouteInput) GoString() string
GoString returns the string representation
func (*ValueForUpdateRouteInput) SetMatchContent ¶
func (s *ValueForUpdateRouteInput) SetMatchContent(v string) *ValueForUpdateRouteInput
SetMatchContent sets the MatchContent field's value.
func (*ValueForUpdateRouteInput) SetMatchType ¶
func (s *ValueForUpdateRouteInput) SetMatchType(v string) *ValueForUpdateRouteInput
SetMatchType sets the MatchType field's value.
func (ValueForUpdateRouteInput) String ¶
func (s ValueForUpdateRouteInput) String() string
String returns the string representation