Documentation
¶
Overview ¶
Package partneriface provides an interface to enable mocking the PARTNER 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 ListChildPartnerCustomerInput
- func (s ListChildPartnerCustomerInput) GoString() string
- func (s *ListChildPartnerCustomerInput) SetChildPartnerName(v string) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetChildPartnerPassportID(v string) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetCustomerPassportID(v string) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetLimit(v int64) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetOffset(v int64) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetPreciseCustomerNames(v []*string) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetRelateEndTime(v string) *ListChildPartnerCustomerInput
- func (s *ListChildPartnerCustomerInput) SetRelateStartTime(v string) *ListChildPartnerCustomerInput
- func (s ListChildPartnerCustomerInput) String() string
- func (s *ListChildPartnerCustomerInput) Validate() error
- type ListChildPartnerCustomerOutput
- func (s ListChildPartnerCustomerOutput) GoString() string
- func (s *ListChildPartnerCustomerOutput) SetList(v []*ListForListChildPartnerCustomerOutput) *ListChildPartnerCustomerOutput
- func (s *ListChildPartnerCustomerOutput) SetTotal(v int64) *ListChildPartnerCustomerOutput
- func (s ListChildPartnerCustomerOutput) String() string
- type ListForListChildPartnerCustomerOutput
- func (s ListForListChildPartnerCustomerOutput) GoString() string
- func (s *ListForListChildPartnerCustomerOutput) SetAlarmStatus(v int32) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetAlarmValue(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetChildPartnerName(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetChildPartnerPassportID(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetCustomerName(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetCustomerPassportID(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetGrantType(v int32) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetPaidCurMonth(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetPaidLastMonth(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetPayableCurMonth(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetPayableLastMonth(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetQuotaBalance(v string) *ListForListChildPartnerCustomerOutput
- func (s *ListForListChildPartnerCustomerOutput) SetRelationTime(v string) *ListForListChildPartnerCustomerOutput
- func (s ListForListChildPartnerCustomerOutput) String() string
- type ListForListPartnerCustomerOutput
- func (s ListForListPartnerCustomerOutput) GoString() string
- func (s *ListForListPartnerCustomerOutput) SetAlarmStatus(v int32) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetAlarmValue(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetCustomerName(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetCustomerPassportID(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetCustomerPassportIDSource(v int32) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetCustomerPassportIdentity(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetCustomerVerifyType(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetGrantType(v int32) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetPaidCurMonth(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetPaidLastMonth(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetPartnerEmployeeID(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetPayableCurMonth(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetPayableLastMonth(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetQuotaBalance(v string) *ListForListPartnerCustomerOutput
- func (s *ListForListPartnerCustomerOutput) SetRelationTime(v string) *ListForListPartnerCustomerOutput
- func (s ListForListPartnerCustomerOutput) String() string
- type ListPartnerCustomerInput
- func (s ListPartnerCustomerInput) GoString() string
- func (s *ListPartnerCustomerInput) SetCustomerPassportID(v string) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetCustomerPassportIdentity(v string) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetFuzzyCustomerName(v string) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetLimit(v int64) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetOffset(v int64) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetPreciseCustomerNames(v []*string) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetRelateEndTime(v string) *ListPartnerCustomerInput
- func (s *ListPartnerCustomerInput) SetRelateStartTime(v string) *ListPartnerCustomerInput
- func (s ListPartnerCustomerInput) String() string
- func (s *ListPartnerCustomerInput) Validate() error
- type ListPartnerCustomerOutput
- type PARTNER
- func (c *PARTNER) ListChildPartnerCustomer(input *ListChildPartnerCustomerInput) (*ListChildPartnerCustomerOutput, error)
- func (c *PARTNER) ListChildPartnerCustomerCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *PARTNER) ListChildPartnerCustomerCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *PARTNER) ListChildPartnerCustomerCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *PARTNER) ListChildPartnerCustomerRequest(input *ListChildPartnerCustomerInput) (req *request.Request, output *ListChildPartnerCustomerOutput)
- func (c *PARTNER) ListChildPartnerCustomerWithContext(ctx volcengine.Context, input *ListChildPartnerCustomerInput, ...) (*ListChildPartnerCustomerOutput, error)
- func (c *PARTNER) ListPartnerCustomer(input *ListPartnerCustomerInput) (*ListPartnerCustomerOutput, error)
- func (c *PARTNER) ListPartnerCustomerCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *PARTNER) ListPartnerCustomerCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *PARTNER) ListPartnerCustomerCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *PARTNER) ListPartnerCustomerRequest(input *ListPartnerCustomerInput) (req *request.Request, output *ListPartnerCustomerOutput)
- func (c *PARTNER) ListPartnerCustomerWithContext(ctx volcengine.Context, input *ListPartnerCustomerInput, ...) (*ListPartnerCustomerOutput, error)
- type PARTNERAPI
Constants ¶
const ( ServiceName = "partner" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "partner" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListChildPartnerCustomerInput ¶
type ListChildPartnerCustomerInput struct {
ChildPartnerName *string `type:"string" json:",omitempty"`
ChildPartnerPassportID *string `type:"string" json:",omitempty"`
CustomerPassportID *string `type:"string" json:",omitempty"`
// Limit is a required field
Limit *int64 `min:"10" max:"100" type:"int64" json:",omitempty" required:"true"`
// Offset is a required field
Offset *int64 `min:"1" type:"int64" json:",omitempty" required:"true"`
PreciseCustomerNames []*string `type:"list"`
RelateEndTime *string `type:"string" json:",omitempty"`
RelateStartTime *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListChildPartnerCustomerInput) GoString ¶
func (s ListChildPartnerCustomerInput) GoString() string
GoString returns the string representation
func (*ListChildPartnerCustomerInput) SetChildPartnerName ¶
func (s *ListChildPartnerCustomerInput) SetChildPartnerName(v string) *ListChildPartnerCustomerInput
SetChildPartnerName sets the ChildPartnerName field's value.
func (*ListChildPartnerCustomerInput) SetChildPartnerPassportID ¶
func (s *ListChildPartnerCustomerInput) SetChildPartnerPassportID(v string) *ListChildPartnerCustomerInput
SetChildPartnerPassportID sets the ChildPartnerPassportID field's value.
func (*ListChildPartnerCustomerInput) SetCustomerPassportID ¶
func (s *ListChildPartnerCustomerInput) SetCustomerPassportID(v string) *ListChildPartnerCustomerInput
SetCustomerPassportID sets the CustomerPassportID field's value.
func (*ListChildPartnerCustomerInput) SetLimit ¶
func (s *ListChildPartnerCustomerInput) SetLimit(v int64) *ListChildPartnerCustomerInput
SetLimit sets the Limit field's value.
func (*ListChildPartnerCustomerInput) SetOffset ¶
func (s *ListChildPartnerCustomerInput) SetOffset(v int64) *ListChildPartnerCustomerInput
SetOffset sets the Offset field's value.
func (*ListChildPartnerCustomerInput) SetPreciseCustomerNames ¶
func (s *ListChildPartnerCustomerInput) SetPreciseCustomerNames(v []*string) *ListChildPartnerCustomerInput
SetPreciseCustomerNames sets the PreciseCustomerNames field's value.
func (*ListChildPartnerCustomerInput) SetRelateEndTime ¶
func (s *ListChildPartnerCustomerInput) SetRelateEndTime(v string) *ListChildPartnerCustomerInput
SetRelateEndTime sets the RelateEndTime field's value.
func (*ListChildPartnerCustomerInput) SetRelateStartTime ¶
func (s *ListChildPartnerCustomerInput) SetRelateStartTime(v string) *ListChildPartnerCustomerInput
SetRelateStartTime sets the RelateStartTime field's value.
func (ListChildPartnerCustomerInput) String ¶
func (s ListChildPartnerCustomerInput) String() string
String returns the string representation
func (*ListChildPartnerCustomerInput) Validate ¶
func (s *ListChildPartnerCustomerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChildPartnerCustomerOutput ¶
type ListChildPartnerCustomerOutput struct {
Metadata *response.ResponseMetadata
List []*ListForListChildPartnerCustomerOutput `type:"list"`
Total *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListChildPartnerCustomerOutput) GoString ¶
func (s ListChildPartnerCustomerOutput) GoString() string
GoString returns the string representation
func (*ListChildPartnerCustomerOutput) SetList ¶
func (s *ListChildPartnerCustomerOutput) SetList(v []*ListForListChildPartnerCustomerOutput) *ListChildPartnerCustomerOutput
SetList sets the List field's value.
func (*ListChildPartnerCustomerOutput) SetTotal ¶
func (s *ListChildPartnerCustomerOutput) SetTotal(v int64) *ListChildPartnerCustomerOutput
SetTotal sets the Total field's value.
func (ListChildPartnerCustomerOutput) String ¶
func (s ListChildPartnerCustomerOutput) String() string
String returns the string representation
type ListForListChildPartnerCustomerOutput ¶
type ListForListChildPartnerCustomerOutput struct {
AlarmStatus *int32 `type:"int32" json:",omitempty"`
AlarmValue *string `type:"string" json:",omitempty"`
ChildPartnerName *string `type:"string" json:",omitempty"`
ChildPartnerPassportID *string `type:"string" json:",omitempty"`
CustomerName *string `type:"string" json:",omitempty"`
CustomerPassportID *string `type:"string" json:",omitempty"`
GrantType *int32 `type:"int32" json:",omitempty"`
PaidCurMonth *string `type:"string" json:",omitempty"`
PaidLastMonth *string `type:"string" json:",omitempty"`
PayableCurMonth *string `type:"string" json:",omitempty"`
PayableLastMonth *string `type:"string" json:",omitempty"`
QuotaBalance *string `type:"string" json:",omitempty"`
RelationTime *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListForListChildPartnerCustomerOutput) GoString ¶
func (s ListForListChildPartnerCustomerOutput) GoString() string
GoString returns the string representation
func (*ListForListChildPartnerCustomerOutput) SetAlarmStatus ¶
func (s *ListForListChildPartnerCustomerOutput) SetAlarmStatus(v int32) *ListForListChildPartnerCustomerOutput
SetAlarmStatus sets the AlarmStatus field's value.
func (*ListForListChildPartnerCustomerOutput) SetAlarmValue ¶
func (s *ListForListChildPartnerCustomerOutput) SetAlarmValue(v string) *ListForListChildPartnerCustomerOutput
SetAlarmValue sets the AlarmValue field's value.
func (*ListForListChildPartnerCustomerOutput) SetChildPartnerName ¶
func (s *ListForListChildPartnerCustomerOutput) SetChildPartnerName(v string) *ListForListChildPartnerCustomerOutput
SetChildPartnerName sets the ChildPartnerName field's value.
func (*ListForListChildPartnerCustomerOutput) SetChildPartnerPassportID ¶
func (s *ListForListChildPartnerCustomerOutput) SetChildPartnerPassportID(v string) *ListForListChildPartnerCustomerOutput
SetChildPartnerPassportID sets the ChildPartnerPassportID field's value.
func (*ListForListChildPartnerCustomerOutput) SetCustomerName ¶
func (s *ListForListChildPartnerCustomerOutput) SetCustomerName(v string) *ListForListChildPartnerCustomerOutput
SetCustomerName sets the CustomerName field's value.
func (*ListForListChildPartnerCustomerOutput) SetCustomerPassportID ¶
func (s *ListForListChildPartnerCustomerOutput) SetCustomerPassportID(v string) *ListForListChildPartnerCustomerOutput
SetCustomerPassportID sets the CustomerPassportID field's value.
func (*ListForListChildPartnerCustomerOutput) SetGrantType ¶
func (s *ListForListChildPartnerCustomerOutput) SetGrantType(v int32) *ListForListChildPartnerCustomerOutput
SetGrantType sets the GrantType field's value.
func (*ListForListChildPartnerCustomerOutput) SetPaidCurMonth ¶
func (s *ListForListChildPartnerCustomerOutput) SetPaidCurMonth(v string) *ListForListChildPartnerCustomerOutput
SetPaidCurMonth sets the PaidCurMonth field's value.
func (*ListForListChildPartnerCustomerOutput) SetPaidLastMonth ¶
func (s *ListForListChildPartnerCustomerOutput) SetPaidLastMonth(v string) *ListForListChildPartnerCustomerOutput
SetPaidLastMonth sets the PaidLastMonth field's value.
func (*ListForListChildPartnerCustomerOutput) SetPayableCurMonth ¶
func (s *ListForListChildPartnerCustomerOutput) SetPayableCurMonth(v string) *ListForListChildPartnerCustomerOutput
SetPayableCurMonth sets the PayableCurMonth field's value.
func (*ListForListChildPartnerCustomerOutput) SetPayableLastMonth ¶
func (s *ListForListChildPartnerCustomerOutput) SetPayableLastMonth(v string) *ListForListChildPartnerCustomerOutput
SetPayableLastMonth sets the PayableLastMonth field's value.
func (*ListForListChildPartnerCustomerOutput) SetQuotaBalance ¶
func (s *ListForListChildPartnerCustomerOutput) SetQuotaBalance(v string) *ListForListChildPartnerCustomerOutput
SetQuotaBalance sets the QuotaBalance field's value.
func (*ListForListChildPartnerCustomerOutput) SetRelationTime ¶
func (s *ListForListChildPartnerCustomerOutput) SetRelationTime(v string) *ListForListChildPartnerCustomerOutput
SetRelationTime sets the RelationTime field's value.
func (ListForListChildPartnerCustomerOutput) String ¶
func (s ListForListChildPartnerCustomerOutput) String() string
String returns the string representation
type ListForListPartnerCustomerOutput ¶
type ListForListPartnerCustomerOutput struct {
AlarmStatus *int32 `type:"int32" json:",omitempty"`
AlarmValue *string `type:"string" json:",omitempty"`
CustomerName *string `type:"string" json:",omitempty"`
CustomerPassportID *string `type:"string" json:",omitempty"`
CustomerPassportIDSource *int32 `type:"int32" json:",omitempty"`
CustomerPassportIdentity *string `type:"string" json:",omitempty"`
CustomerVerifyType *string `type:"string" json:",omitempty"`
GrantType *int32 `type:"int32" json:",omitempty"`
PaidCurMonth *string `type:"string" json:",omitempty"`
PaidLastMonth *string `type:"string" json:",omitempty"`
PartnerEmployeeID *string `type:"string" json:",omitempty"`
PayableCurMonth *string `type:"string" json:",omitempty"`
PayableLastMonth *string `type:"string" json:",omitempty"`
QuotaBalance *string `type:"string" json:",omitempty"`
RelationTime *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListForListPartnerCustomerOutput) GoString ¶
func (s ListForListPartnerCustomerOutput) GoString() string
GoString returns the string representation
func (*ListForListPartnerCustomerOutput) SetAlarmStatus ¶
func (s *ListForListPartnerCustomerOutput) SetAlarmStatus(v int32) *ListForListPartnerCustomerOutput
SetAlarmStatus sets the AlarmStatus field's value.
func (*ListForListPartnerCustomerOutput) SetAlarmValue ¶
func (s *ListForListPartnerCustomerOutput) SetAlarmValue(v string) *ListForListPartnerCustomerOutput
SetAlarmValue sets the AlarmValue field's value.
func (*ListForListPartnerCustomerOutput) SetCustomerName ¶
func (s *ListForListPartnerCustomerOutput) SetCustomerName(v string) *ListForListPartnerCustomerOutput
SetCustomerName sets the CustomerName field's value.
func (*ListForListPartnerCustomerOutput) SetCustomerPassportID ¶
func (s *ListForListPartnerCustomerOutput) SetCustomerPassportID(v string) *ListForListPartnerCustomerOutput
SetCustomerPassportID sets the CustomerPassportID field's value.
func (*ListForListPartnerCustomerOutput) SetCustomerPassportIDSource ¶
func (s *ListForListPartnerCustomerOutput) SetCustomerPassportIDSource(v int32) *ListForListPartnerCustomerOutput
SetCustomerPassportIDSource sets the CustomerPassportIDSource field's value.
func (*ListForListPartnerCustomerOutput) SetCustomerPassportIdentity ¶
func (s *ListForListPartnerCustomerOutput) SetCustomerPassportIdentity(v string) *ListForListPartnerCustomerOutput
SetCustomerPassportIdentity sets the CustomerPassportIdentity field's value.
func (*ListForListPartnerCustomerOutput) SetCustomerVerifyType ¶
func (s *ListForListPartnerCustomerOutput) SetCustomerVerifyType(v string) *ListForListPartnerCustomerOutput
SetCustomerVerifyType sets the CustomerVerifyType field's value.
func (*ListForListPartnerCustomerOutput) SetGrantType ¶
func (s *ListForListPartnerCustomerOutput) SetGrantType(v int32) *ListForListPartnerCustomerOutput
SetGrantType sets the GrantType field's value.
func (*ListForListPartnerCustomerOutput) SetPaidCurMonth ¶
func (s *ListForListPartnerCustomerOutput) SetPaidCurMonth(v string) *ListForListPartnerCustomerOutput
SetPaidCurMonth sets the PaidCurMonth field's value.
func (*ListForListPartnerCustomerOutput) SetPaidLastMonth ¶
func (s *ListForListPartnerCustomerOutput) SetPaidLastMonth(v string) *ListForListPartnerCustomerOutput
SetPaidLastMonth sets the PaidLastMonth field's value.
func (*ListForListPartnerCustomerOutput) SetPartnerEmployeeID ¶
func (s *ListForListPartnerCustomerOutput) SetPartnerEmployeeID(v string) *ListForListPartnerCustomerOutput
SetPartnerEmployeeID sets the PartnerEmployeeID field's value.
func (*ListForListPartnerCustomerOutput) SetPayableCurMonth ¶
func (s *ListForListPartnerCustomerOutput) SetPayableCurMonth(v string) *ListForListPartnerCustomerOutput
SetPayableCurMonth sets the PayableCurMonth field's value.
func (*ListForListPartnerCustomerOutput) SetPayableLastMonth ¶
func (s *ListForListPartnerCustomerOutput) SetPayableLastMonth(v string) *ListForListPartnerCustomerOutput
SetPayableLastMonth sets the PayableLastMonth field's value.
func (*ListForListPartnerCustomerOutput) SetQuotaBalance ¶
func (s *ListForListPartnerCustomerOutput) SetQuotaBalance(v string) *ListForListPartnerCustomerOutput
SetQuotaBalance sets the QuotaBalance field's value.
func (*ListForListPartnerCustomerOutput) SetRelationTime ¶
func (s *ListForListPartnerCustomerOutput) SetRelationTime(v string) *ListForListPartnerCustomerOutput
SetRelationTime sets the RelationTime field's value.
func (ListForListPartnerCustomerOutput) String ¶
func (s ListForListPartnerCustomerOutput) String() string
String returns the string representation
type ListPartnerCustomerInput ¶
type ListPartnerCustomerInput struct {
CustomerPassportID *string `type:"string" json:",omitempty"`
CustomerPassportIdentity *string `type:"string" json:",omitempty"`
FuzzyCustomerName *string `type:"string" json:",omitempty"`
// Limit is a required field
Limit *int64 `min:"10" max:"100" type:"int64" json:",omitempty" required:"true"`
// Offset is a required field
Offset *int64 `min:"1" type:"int64" json:",omitempty" required:"true"`
PreciseCustomerNames []*string `type:"list"`
RelateEndTime *string `type:"string" json:",omitempty"`
RelateStartTime *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListPartnerCustomerInput) GoString ¶
func (s ListPartnerCustomerInput) GoString() string
GoString returns the string representation
func (*ListPartnerCustomerInput) SetCustomerPassportID ¶
func (s *ListPartnerCustomerInput) SetCustomerPassportID(v string) *ListPartnerCustomerInput
SetCustomerPassportID sets the CustomerPassportID field's value.
func (*ListPartnerCustomerInput) SetCustomerPassportIdentity ¶
func (s *ListPartnerCustomerInput) SetCustomerPassportIdentity(v string) *ListPartnerCustomerInput
SetCustomerPassportIdentity sets the CustomerPassportIdentity field's value.
func (*ListPartnerCustomerInput) SetFuzzyCustomerName ¶
func (s *ListPartnerCustomerInput) SetFuzzyCustomerName(v string) *ListPartnerCustomerInput
SetFuzzyCustomerName sets the FuzzyCustomerName field's value.
func (*ListPartnerCustomerInput) SetLimit ¶
func (s *ListPartnerCustomerInput) SetLimit(v int64) *ListPartnerCustomerInput
SetLimit sets the Limit field's value.
func (*ListPartnerCustomerInput) SetOffset ¶
func (s *ListPartnerCustomerInput) SetOffset(v int64) *ListPartnerCustomerInput
SetOffset sets the Offset field's value.
func (*ListPartnerCustomerInput) SetPreciseCustomerNames ¶
func (s *ListPartnerCustomerInput) SetPreciseCustomerNames(v []*string) *ListPartnerCustomerInput
SetPreciseCustomerNames sets the PreciseCustomerNames field's value.
func (*ListPartnerCustomerInput) SetRelateEndTime ¶
func (s *ListPartnerCustomerInput) SetRelateEndTime(v string) *ListPartnerCustomerInput
SetRelateEndTime sets the RelateEndTime field's value.
func (*ListPartnerCustomerInput) SetRelateStartTime ¶
func (s *ListPartnerCustomerInput) SetRelateStartTime(v string) *ListPartnerCustomerInput
SetRelateStartTime sets the RelateStartTime field's value.
func (ListPartnerCustomerInput) String ¶
func (s ListPartnerCustomerInput) String() string
String returns the string representation
func (*ListPartnerCustomerInput) Validate ¶
func (s *ListPartnerCustomerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPartnerCustomerOutput ¶
type ListPartnerCustomerOutput struct {
Metadata *response.ResponseMetadata
List []*ListForListPartnerCustomerOutput `type:"list"`
Total *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListPartnerCustomerOutput) GoString ¶
func (s ListPartnerCustomerOutput) GoString() string
GoString returns the string representation
func (*ListPartnerCustomerOutput) SetList ¶
func (s *ListPartnerCustomerOutput) SetList(v []*ListForListPartnerCustomerOutput) *ListPartnerCustomerOutput
SetList sets the List field's value.
func (*ListPartnerCustomerOutput) SetTotal ¶
func (s *ListPartnerCustomerOutput) SetTotal(v int64) *ListPartnerCustomerOutput
SetTotal sets the Total field's value.
func (ListPartnerCustomerOutput) String ¶
func (s ListPartnerCustomerOutput) String() string
String returns the string representation
type PARTNER ¶
PARTNER provides the API operation methods for making requests to PARTNER. See this package's package overview docs for details on the service.
PARTNER 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 ...*volcengine.Config) *PARTNER
New create int can support ssl or region locate set
func (*PARTNER) ListChildPartnerCustomer ¶
func (c *PARTNER) ListChildPartnerCustomer(input *ListChildPartnerCustomerInput) (*ListChildPartnerCustomerOutput, error)
ListChildPartnerCustomer API operation for PARTNER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for PARTNER's API operation ListChildPartnerCustomer for usage and error information.
func (*PARTNER) ListChildPartnerCustomerCommon ¶
func (c *PARTNER) ListChildPartnerCustomerCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListChildPartnerCustomerCommon API operation for PARTNER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for PARTNER's API operation ListChildPartnerCustomerCommon for usage and error information.
func (*PARTNER) ListChildPartnerCustomerCommonRequest ¶
func (c *PARTNER) ListChildPartnerCustomerCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListChildPartnerCustomerCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListChildPartnerCustomerCommon operation. The "output" return value will be populated with the ListChildPartnerCustomerCommon request's response once the request completes successfully.
Use "Send" method on the returned ListChildPartnerCustomerCommon Request to send the API call to the service. the "output" return value is not valid until after ListChildPartnerCustomerCommon Send returns without error.
See ListChildPartnerCustomerCommon for more information on using the ListChildPartnerCustomerCommon API call, and error handling.
// Example sending a request using the ListChildPartnerCustomerCommonRequest method.
req, resp := client.ListChildPartnerCustomerCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*PARTNER) ListChildPartnerCustomerCommonWithContext ¶
func (c *PARTNER) ListChildPartnerCustomerCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListChildPartnerCustomerCommonWithContext is the same as ListChildPartnerCustomerCommon with the addition of the ability to pass a context and additional request options.
See ListChildPartnerCustomerCommon 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 (*PARTNER) ListChildPartnerCustomerRequest ¶
func (c *PARTNER) ListChildPartnerCustomerRequest(input *ListChildPartnerCustomerInput) (req *request.Request, output *ListChildPartnerCustomerOutput)
ListChildPartnerCustomerRequest generates a "volcengine/request.Request" representing the client's request for the ListChildPartnerCustomer operation. The "output" return value will be populated with the ListChildPartnerCustomerCommon request's response once the request completes successfully.
Use "Send" method on the returned ListChildPartnerCustomerCommon Request to send the API call to the service. the "output" return value is not valid until after ListChildPartnerCustomerCommon Send returns without error.
See ListChildPartnerCustomer for more information on using the ListChildPartnerCustomer API call, and error handling.
// Example sending a request using the ListChildPartnerCustomerRequest method.
req, resp := client.ListChildPartnerCustomerRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*PARTNER) ListChildPartnerCustomerWithContext ¶
func (c *PARTNER) ListChildPartnerCustomerWithContext(ctx volcengine.Context, input *ListChildPartnerCustomerInput, opts ...request.Option) (*ListChildPartnerCustomerOutput, error)
ListChildPartnerCustomerWithContext is the same as ListChildPartnerCustomer with the addition of the ability to pass a context and additional request options.
See ListChildPartnerCustomer 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 (*PARTNER) ListPartnerCustomer ¶
func (c *PARTNER) ListPartnerCustomer(input *ListPartnerCustomerInput) (*ListPartnerCustomerOutput, error)
ListPartnerCustomer API operation for PARTNER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for PARTNER's API operation ListPartnerCustomer for usage and error information.
func (*PARTNER) ListPartnerCustomerCommon ¶
func (c *PARTNER) ListPartnerCustomerCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListPartnerCustomerCommon API operation for PARTNER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for PARTNER's API operation ListPartnerCustomerCommon for usage and error information.
func (*PARTNER) ListPartnerCustomerCommonRequest ¶
func (c *PARTNER) ListPartnerCustomerCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListPartnerCustomerCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListPartnerCustomerCommon operation. The "output" return value will be populated with the ListPartnerCustomerCommon request's response once the request completes successfully.
Use "Send" method on the returned ListPartnerCustomerCommon Request to send the API call to the service. the "output" return value is not valid until after ListPartnerCustomerCommon Send returns without error.
See ListPartnerCustomerCommon for more information on using the ListPartnerCustomerCommon API call, and error handling.
// Example sending a request using the ListPartnerCustomerCommonRequest method.
req, resp := client.ListPartnerCustomerCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*PARTNER) ListPartnerCustomerCommonWithContext ¶
func (c *PARTNER) ListPartnerCustomerCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListPartnerCustomerCommonWithContext is the same as ListPartnerCustomerCommon with the addition of the ability to pass a context and additional request options.
See ListPartnerCustomerCommon 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 (*PARTNER) ListPartnerCustomerRequest ¶
func (c *PARTNER) ListPartnerCustomerRequest(input *ListPartnerCustomerInput) (req *request.Request, output *ListPartnerCustomerOutput)
ListPartnerCustomerRequest generates a "volcengine/request.Request" representing the client's request for the ListPartnerCustomer operation. The "output" return value will be populated with the ListPartnerCustomerCommon request's response once the request completes successfully.
Use "Send" method on the returned ListPartnerCustomerCommon Request to send the API call to the service. the "output" return value is not valid until after ListPartnerCustomerCommon Send returns without error.
See ListPartnerCustomer for more information on using the ListPartnerCustomer API call, and error handling.
// Example sending a request using the ListPartnerCustomerRequest method.
req, resp := client.ListPartnerCustomerRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*PARTNER) ListPartnerCustomerWithContext ¶
func (c *PARTNER) ListPartnerCustomerWithContext(ctx volcengine.Context, input *ListPartnerCustomerInput, opts ...request.Option) (*ListPartnerCustomerOutput, error)
ListPartnerCustomerWithContext is the same as ListPartnerCustomer with the addition of the ability to pass a context and additional request options.
See ListPartnerCustomer 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 PARTNERAPI ¶
type PARTNERAPI interface {
ListChildPartnerCustomerCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListChildPartnerCustomerCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListChildPartnerCustomerCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListChildPartnerCustomer(*ListChildPartnerCustomerInput) (*ListChildPartnerCustomerOutput, error)
ListChildPartnerCustomerWithContext(volcengine.Context, *ListChildPartnerCustomerInput, ...request.Option) (*ListChildPartnerCustomerOutput, error)
ListChildPartnerCustomerRequest(*ListChildPartnerCustomerInput) (*request.Request, *ListChildPartnerCustomerOutput)
ListPartnerCustomerCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListPartnerCustomerCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListPartnerCustomerCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListPartnerCustomer(*ListPartnerCustomerInput) (*ListPartnerCustomerOutput, error)
ListPartnerCustomerWithContext(volcengine.Context, *ListPartnerCustomerInput, ...request.Option) (*ListPartnerCustomerOutput, error)
ListPartnerCustomerRequest(*ListPartnerCustomerInput) (*request.Request, *ListPartnerCustomerOutput)
}
PARTNERAPI provides an interface to enable mocking the partner.PARTNER service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// PARTNER.
func myFunc(svc PARTNERAPI) bool {
// Make svc.ListChildPartnerCustomer request
}
func main() {
sess := session.New()
svc := partner.New(sess)
myFunc(svc)
}