accountprofiles

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package accountprofiles provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes              = "bearerAuth.Scopes"
	Oauth2AuthorizationCodeScopes = "oauth2AuthorizationCode.Scopes"
)

Variables

This section is empty.

Functions

func NewGetProfileByIdRequest

func NewGetProfileByIdRequest(server string, profileId int64, params *GetProfileByIdParams) (*http.Request, error)

NewGetProfileByIdRequest generates requests for GetProfileById

func NewListProfilesRequest

func NewListProfilesRequest(server string, params *ListProfilesParams) (*http.Request, error)

NewListProfilesRequest generates requests for ListProfiles

func NewUpdateProfilesRequest

func NewUpdateProfilesRequest(server string, params *UpdateProfilesParams, body UpdateProfilesJSONRequestBody) (*http.Request, error)

NewUpdateProfilesRequest calls the generic UpdateProfiles builder with application/json body

func NewUpdateProfilesRequestWithBody

func NewUpdateProfilesRequestWithBody(server string, params *UpdateProfilesParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProfilesRequestWithBody generates requests for UpdateProfiles with any type of body

Types

type AccountInfo

type AccountInfo struct {
	// Id Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplace.
	Id *string `json:"id,omitempty"`

	// MarketplaceStringId The identifier of the marketplace to which the account is associated.
	MarketplaceStringId *string `json:"marketplaceStringId,omitempty"`

	// Name Account name.
	Name *string `json:"name,omitempty"`

	// SubType The account subtype.
	SubType *AccountInfoSubType `json:"subType,omitempty"`

	// Type The `seller` and `vendor` account types are associated with Sponsored Ads APIs. The `agency` account type is associated with DSP and Data Provider APIs.
	Type *AccountType `json:"type,omitempty"`

	// ValidPaymentMethod Only present for Vendors, this returns whether the Advertiser has set up a valid payment method or not.
	ValidPaymentMethod *bool `json:"validPaymentMethod,omitempty"`
}

AccountInfo defines model for AccountInfo.

type AccountInfoSubType

type AccountInfoSubType string

AccountInfoSubType The account subtype.

const (
	AMAZONATTRIBUTION AccountInfoSubType = "AMAZON_ATTRIBUTION"
	KDPAUTHOR         AccountInfoSubType = "KDP_AUTHOR"
)

Defines values for AccountInfoSubType.

type AccountType

type AccountType string

AccountType The `seller` and `vendor` account types are associated with Sponsored Ads APIs. The `agency` account type is associated with DSP and Data Provider APIs.

const (
	AccountTypeAgency AccountType = "agency"
	AccountTypeSeller AccountType = "seller"
	AccountTypeVendor AccountType = "vendor"
)

Defines values for AccountType.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn

	// A callback for modifying response which are generated after receive from the network.
	ResponseEditors []ResponseEditorFn

	// The user agent header identifies your application, its version number, and the platform and programming language you are using.
	// You must include a user agent header in each request submitted to the sales partner API.
	UserAgent string
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) GetProfileById

func (c *Client) GetProfileById(ctx context.Context, profileId int64, params *GetProfileByIdParams) (*http.Response, error)

func (*Client) ListProfiles

func (c *Client) ListProfiles(ctx context.Context, params *ListProfilesParams) (*http.Response, error)

func (*Client) UpdateProfiles

func (c *Client) UpdateProfiles(ctx context.Context, params *UpdateProfilesParams, body UpdateProfilesJSONRequestBody) (*http.Response, error)

func (*Client) UpdateProfilesWithBody

func (c *Client) UpdateProfilesWithBody(ctx context.Context, params *UpdateProfilesParams, contentType string, body io.Reader) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListProfiles request
	ListProfiles(ctx context.Context, params *ListProfilesParams) (*http.Response, error)

	// UpdateProfilesWithBody request with any body
	UpdateProfilesWithBody(ctx context.Context, params *UpdateProfilesParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateProfiles(ctx context.Context, params *UpdateProfilesParams, body UpdateProfilesJSONRequestBody) (*http.Response, error)

	// GetProfileById request
	GetProfileById(ctx context.Context, profileId int64, params *GetProfileByIdParams) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

func WithResponseEditorFn added in v0.0.2

func WithResponseEditorFn(fn ResponseEditorFn) ClientOption

WithResponseEditorFn allows setting up a callback function, which will be called right after receive the response.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) GetProfileByIdWithResponse

func (c *ClientWithResponses) GetProfileByIdWithResponse(ctx context.Context, profileId int64, params *GetProfileByIdParams) (*GetProfileByIdResp, error)

GetProfileByIdWithResponse request returning *GetProfileByIdResp

func (*ClientWithResponses) ListProfilesWithResponse

func (c *ClientWithResponses) ListProfilesWithResponse(ctx context.Context, params *ListProfilesParams) (*ListProfilesResp, error)

ListProfilesWithResponse request returning *ListProfilesResp

func (*ClientWithResponses) UpdateProfilesWithBodyWithResponse

func (c *ClientWithResponses) UpdateProfilesWithBodyWithResponse(ctx context.Context, params *UpdateProfilesParams, contentType string, body io.Reader) (*UpdateProfilesResp, error)

UpdateProfilesWithBodyWithResponse request with arbitrary body returning *UpdateProfilesResp

func (*ClientWithResponses) UpdateProfilesWithResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListProfilesWithResponse request
	ListProfilesWithResponse(ctx context.Context, params *ListProfilesParams) (*ListProfilesResp, error)

	// UpdateProfilesWithBodyWithResponse request with any body
	UpdateProfilesWithBodyWithResponse(ctx context.Context, params *UpdateProfilesParams, contentType string, body io.Reader) (*UpdateProfilesResp, error)

	UpdateProfilesWithResponse(ctx context.Context, params *UpdateProfilesParams, body UpdateProfilesJSONRequestBody) (*UpdateProfilesResp, error)

	// GetProfileByIdWithResponse request
	GetProfileByIdWithResponse(ctx context.Context, profileId int64, params *GetProfileByIdParams) (*GetProfileByIdResp, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CountryCode

type CountryCode string

CountryCode The countryCode for a given country |Region|`countryCode`|Country Name| |------|-----|-------| |NA|BR|Brazil| |NA|CA|Canada| |NA|MX|Mexico| |NA|US|United States| |EU|AE|United Arab Emirates| |EU|BE|Belgium| |EU|DE|Germany| |EU|EG|Egypt| |EU|ES|Spain| |EU|FR|France| |EU|IN|India| |EU|IT|Italy| |EU|NL|The Netherlands| |EU|PL|Poland| |EU|SA|Saudi Arabia| |EU|SE|Sweden| |EU|TR|Turkey| |EU|UK|United Kingdom| |FE|AU|Australia| |FE|JP|Japan| |FE|SG|Singapore|

const (
	AE CountryCode = "AE"
	AU CountryCode = "AU"
	BE CountryCode = "BE"
	BR CountryCode = "BR"
	CA CountryCode = "CA"
	DE CountryCode = "DE"
	EG CountryCode = "EG"
	ES CountryCode = "ES"
	FR CountryCode = "FR"
	IN CountryCode = "IN"
	IT CountryCode = "IT"
	JP CountryCode = "JP"
	MX CountryCode = "MX"
	NL CountryCode = "NL"
	PL CountryCode = "PL"
	SA CountryCode = "SA"
	SE CountryCode = "SE"
	SG CountryCode = "SG"
	TR CountryCode = "TR"
	UK CountryCode = "UK"
	US CountryCode = "US"
)

Defines values for CountryCode.

type GetProfileByIdParams

type GetProfileByIdParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`
}

GetProfileByIdParams defines parameters for GetProfileById.

type GetProfileByIdResp

type GetProfileByIdResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Profile
}

func ParseGetProfileByIdResp

func ParseGetProfileByIdResp(rsp *http.Response) (*GetProfileByIdResp, error)

ParseGetProfileByIdResp parses an HTTP response from a GetProfileByIdWithResponse call

func (GetProfileByIdResp) Status

func (r GetProfileByIdResp) Status() string

Status returns HTTPResponse.Status

func (GetProfileByIdResp) StatusCode

func (r GetProfileByIdResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListProfilesParams

type ListProfilesParams struct {
	// ApiProgram Filters response to include profiles that have permissions for the specified Advertising API program only. Setting `apiProgram=billing` filters the response to include only profiles to which the user and application associated with the access token have permission to view or edit billing information.
	ApiProgram *ListProfilesParamsApiProgram `form:"apiProgram,omitempty" json:"apiProgram,omitempty"`

	// AccessLevel Filters response to include profiles that have specified permissions for the specified Advertising API program only. Currently, the only supported access level is `view` and `edit`. Setting `accessLevel=view` filters the response to include only profiles to which the user and application associated with the access token have view permission to the provided api program.
	AccessLevel *ListProfilesParamsAccessLevel `form:"accessLevel,omitempty" json:"accessLevel,omitempty"`

	// ProfileTypeFilter Filters response to include profiles that are of the specified types in the comma-delimited list. Default is all types. Note that this filter performs an inclusive AND operation on the types.
	ProfileTypeFilter *ListProfilesParamsProfileTypeFilter `form:"profileTypeFilter,omitempty" json:"profileTypeFilter,omitempty"`

	// ValidPaymentMethodFilter Filter response to include profiles that have valid payment methods. Default is to include all profiles. Setting this filter to `true` returns only profiles with either no `validPaymentMethod` field, or the `validPaymentMethod` field set to `true`.  Setting this to `false` returns profiles with the `validPaymentMethod` field set to `false` only.
	ValidPaymentMethodFilter *ListProfilesParamsValidPaymentMethodFilter `form:"validPaymentMethodFilter,omitempty" json:"validPaymentMethodFilter,omitempty"`

	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`
}

ListProfilesParams defines parameters for ListProfiles.

type ListProfilesParamsAccessLevel

type ListProfilesParamsAccessLevel string

ListProfilesParamsAccessLevel defines parameters for ListProfiles.

const (
	Edit ListProfilesParamsAccessLevel = "edit"
	View ListProfilesParamsAccessLevel = "view"
)

Defines values for ListProfilesParamsAccessLevel.

type ListProfilesParamsApiProgram

type ListProfilesParamsApiProgram string

ListProfilesParamsApiProgram defines parameters for ListProfiles.

const (
	Account       ListProfilesParamsApiProgram = "account"
	Billing       ListProfilesParamsApiProgram = "billing"
	Campaign      ListProfilesParamsApiProgram = "campaign"
	PaymentMethod ListProfilesParamsApiProgram = "paymentMethod"
	Posts         ListProfilesParamsApiProgram = "posts"
	Report        ListProfilesParamsApiProgram = "report"
	Store         ListProfilesParamsApiProgram = "store"
)

Defines values for ListProfilesParamsApiProgram.

type ListProfilesParamsProfileTypeFilter

type ListProfilesParamsProfileTypeFilter string

ListProfilesParamsProfileTypeFilter defines parameters for ListProfiles.

const (
	ListProfilesParamsProfileTypeFilterAgency ListProfilesParamsProfileTypeFilter = "agency"
	ListProfilesParamsProfileTypeFilterSeller ListProfilesParamsProfileTypeFilter = "seller"
	ListProfilesParamsProfileTypeFilterVendor ListProfilesParamsProfileTypeFilter = "vendor"
)

Defines values for ListProfilesParamsProfileTypeFilter.

type ListProfilesParamsValidPaymentMethodFilter

type ListProfilesParamsValidPaymentMethodFilter string

ListProfilesParamsValidPaymentMethodFilter defines parameters for ListProfiles.

Defines values for ListProfilesParamsValidPaymentMethodFilter.

type ListProfilesResp

type ListProfilesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Profile
}

func ParseListProfilesResp

func ParseListProfilesResp(rsp *http.Response) (*ListProfilesResp, error)

ParseListProfilesResp parses an HTTP response from a ListProfilesWithResponse call

func (ListProfilesResp) Status

func (r ListProfilesResp) Status() string

Status returns HTTPResponse.Status

func (ListProfilesResp) StatusCode

func (r ListProfilesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Profile

type Profile struct {
	AccountInfo *AccountInfo `json:"accountInfo,omitempty"`

	// CountryCode The countryCode for a given country
	// |Region|`countryCode`|Country Name|
	// |------|-----|-------|
	// |NA|BR|Brazil|
	// |NA|CA|Canada|
	// |NA|MX|Mexico|
	// |NA|US|United States|
	// |EU|AE|United Arab Emirates|
	// |EU|BE|Belgium|
	// |EU|DE|Germany|
	// |EU|EG|Egypt|
	// |EU|ES|Spain|
	// |EU|FR|France|
	// |EU|IN|India|
	// |EU|IT|Italy|
	// |EU|NL|The Netherlands|
	// |EU|PL|Poland|
	// |EU|SA|Saudi Arabia|
	// |EU|SE|Sweden|
	// |EU|TR|Turkey|
	// |EU|UK|United Kingdom|
	// |FE|AU|Australia|
	// |FE|JP|Japan|
	// |FE|SG|Singapore|
	CountryCode *CountryCode `json:"countryCode,omitempty"`

	// CurrencyCode The currency used for all monetary values for entities under this profile.
	// |Region|`countryCode`|Country Name|`currencyCode`|
	// |-----|------|------|------|
	// |NA|BR|Brazil|BRL|
	// |NA|CA|Canada|CAD|
	// |NA|MX|Mexico|MXN|
	// |NA|US|United States|USD|
	// |EU|AE|United Arab Emirates|AED|
	// |EU|BE|Belgium|EUR|
	// |EU|DE|Germany|EUR|
	// |EU|EG|Egypt|EGP|
	// |EU|ES|Spain|EUR|
	// |EU|FR|France|EUR|
	// |EU|IN|India|INR|
	// |EU|IT|Italy|EUR|
	// |EU|NL|The Netherlands|EUR|
	// |EU|PL|Poland|PLN|
	// |EU|SA|Saudi Arabia|SAR|
	// |EU|SE|Sweden|SEK|
	// |EU|TR|Turkey|TRY|
	// |EU|UK|United Kingdom|GBP|
	// |FE|AU|Australia|AUD|
	// |FE|JP|Japan|JPY|
	// |FE|SG|Singapore|SGD|
	CurrencyCode *ProfileCurrencyCode `json:"currencyCode,omitempty"`

	// DailyBudget Note that this field applies to Sponsored Product campaigns for seller type accounts only. Not supported for vendor type accounts.
	DailyBudget *float32 `json:"dailyBudget,omitempty"`
	ProfileId   *int64   `json:"profileId,omitempty"`

	// Timezone The time zone used for all date-based campaign management and reporting.
	// |Region|`countryCode`|Country Name|`timezone`|
	// |------|-----|-----|------|
	// |NA|BR|Brazil|America/Sao_Paulo|
	// |NA|CA|Canada|America/Los_Angeles|
	// |NA|MX|Mexico|America/Los_Angeles|
	// |NA|US|United States|America/Los_Angeles|
	// |EU|AE|United Arab Emirates|Asia/Dubai|
	// |EU|BE|Belgium|Europe/Paris|
	// |EU|DE|Germany|Europe/Paris|
	// |EU|EG|Egypt|Africa/Cairo|
	// |EU|ES|Spain|Europe/Paris|
	// |EU|FR|France|Europe/Paris|
	// |EU|IN|India|Asia/Kolkata|
	// |EU|IT|Italy|Europe/Paris|
	// |EU|NL|The Netherlands|Europe/Amsterdam|
	// |EU|PL|Poland|Europe/Warsaw|
	// |EU|SA|Saudi Arabia|Asia/Riyadh|
	// |EU|SE|Sweden|Europe/Stockholm|
	// |EU|TR|Turkey|Europe/Istanbul|
	// |EU|UK|United Kingdom|Europe/London|
	// |FE|AU|Australia|Australia/Sydney|
	// |FE|JP|Japan|Asia/Tokyo|
	// |FE|SG|Singapore|Asia/Singapore|
	Timezone *ProfileTimezone `json:"timezone,omitempty"`
}

Profile defines model for Profile.

type ProfileCurrencyCode

type ProfileCurrencyCode string

ProfileCurrencyCode The currency used for all monetary values for entities under this profile. |Region|`countryCode`|Country Name|`currencyCode`| |-----|------|------|------| |NA|BR|Brazil|BRL| |NA|CA|Canada|CAD| |NA|MX|Mexico|MXN| |NA|US|United States|USD| |EU|AE|United Arab Emirates|AED| |EU|BE|Belgium|EUR| |EU|DE|Germany|EUR| |EU|EG|Egypt|EGP| |EU|ES|Spain|EUR| |EU|FR|France|EUR| |EU|IN|India|INR| |EU|IT|Italy|EUR| |EU|NL|The Netherlands|EUR| |EU|PL|Poland|PLN| |EU|SA|Saudi Arabia|SAR| |EU|SE|Sweden|SEK| |EU|TR|Turkey|TRY| |EU|UK|United Kingdom|GBP| |FE|AU|Australia|AUD| |FE|JP|Japan|JPY| |FE|SG|Singapore|SGD|

const (
	AED ProfileCurrencyCode = "AED"
	AUD ProfileCurrencyCode = "AUD"
	BRL ProfileCurrencyCode = "BRL"
	CAD ProfileCurrencyCode = "CAD"
	EGP ProfileCurrencyCode = "EGP"
	EUR ProfileCurrencyCode = "EUR"
	GBP ProfileCurrencyCode = "GBP"
	INR ProfileCurrencyCode = "INR"
	JPY ProfileCurrencyCode = "JPY"
	MXN ProfileCurrencyCode = "MXN"
	PLN ProfileCurrencyCode = "PLN"
	SAR ProfileCurrencyCode = "SAR"
	SEK ProfileCurrencyCode = "SEK"
	SGD ProfileCurrencyCode = "SGD"
	TRY ProfileCurrencyCode = "TRY"
	USD ProfileCurrencyCode = "USD"
)

Defines values for ProfileCurrencyCode.

type ProfileResponse

type ProfileResponse struct {
	Code      *string `json:"code,omitempty"`
	Details   *string `json:"details,omitempty"`
	ProfileId *int64  `json:"profileId,omitempty"`
}

ProfileResponse defines model for ProfileResponse.

type ProfileTimezone

type ProfileTimezone string

ProfileTimezone The time zone used for all date-based campaign management and reporting. |Region|`countryCode`|Country Name|`timezone`| |------|-----|-----|------| |NA|BR|Brazil|America/Sao_Paulo| |NA|CA|Canada|America/Los_Angeles| |NA|MX|Mexico|America/Los_Angeles| |NA|US|United States|America/Los_Angeles| |EU|AE|United Arab Emirates|Asia/Dubai| |EU|BE|Belgium|Europe/Paris| |EU|DE|Germany|Europe/Paris| |EU|EG|Egypt|Africa/Cairo| |EU|ES|Spain|Europe/Paris| |EU|FR|France|Europe/Paris| |EU|IN|India|Asia/Kolkata| |EU|IT|Italy|Europe/Paris| |EU|NL|The Netherlands|Europe/Amsterdam| |EU|PL|Poland|Europe/Warsaw| |EU|SA|Saudi Arabia|Asia/Riyadh| |EU|SE|Sweden|Europe/Stockholm| |EU|TR|Turkey|Europe/Istanbul| |EU|UK|United Kingdom|Europe/London| |FE|AU|Australia|Australia/Sydney| |FE|JP|Japan|Asia/Tokyo| |FE|SG|Singapore|Asia/Singapore|

const (
	AfricaCairo       ProfileTimezone = "Africa/Cairo"
	AmericaLosAngeles ProfileTimezone = "America/Los_Angeles"
	AmericaSaoPaulo   ProfileTimezone = "America/Sao_Paulo"
	AsiaDubai         ProfileTimezone = "Asia/Dubai"
	AsiaKolkata       ProfileTimezone = "Asia/Kolkata"
	AsiaRiyadh        ProfileTimezone = "Asia/Riyadh"
	AsiaSingapore     ProfileTimezone = "Asia/Singapore"
	AsiaTokyo         ProfileTimezone = "Asia/Tokyo"
	AustraliaSydney   ProfileTimezone = "Australia/Sydney"
	EuropeAmsterdam   ProfileTimezone = "Europe/Amsterdam"
	EuropeIstanbul    ProfileTimezone = "Europe/Istanbul"
	EuropeLondon      ProfileTimezone = "Europe/London"
	EuropeParis       ProfileTimezone = "Europe/Paris"
	EuropeStockholm   ProfileTimezone = "Europe/Stockholm"
	EuropeWarsaw      ProfileTimezone = "Europe/Warsaw"
)

Defines values for ProfileTimezone.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseEditorFn added in v0.0.2

type ResponseEditorFn func(ctx context.Context, rsp *http.Response) error

ResponseEditorFn is the function signature for the ResponseEditor callback function

type UpdateProfilesJSONBody

type UpdateProfilesJSONBody = []Profile

UpdateProfilesJSONBody defines parameters for UpdateProfiles.

type UpdateProfilesJSONRequestBody

type UpdateProfilesJSONRequestBody = UpdateProfilesJSONBody

UpdateProfilesJSONRequestBody defines body for UpdateProfiles for application/json ContentType.

type UpdateProfilesParams

type UpdateProfilesParams struct {
	// AmazonAdvertisingAPIClientId The identifier of a client associated with a "Login with Amazon" account.
	AmazonAdvertisingAPIClientId string `json:"Amazon-Advertising-API-ClientId"`
}

UpdateProfilesParams defines parameters for UpdateProfiles.

type UpdateProfilesResp

type UpdateProfilesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ProfileResponse
}

func ParseUpdateProfilesResp

func ParseUpdateProfilesResp(rsp *http.Response) (*UpdateProfilesResp, error)

ParseUpdateProfilesResp parses an HTTP response from a UpdateProfilesWithResponse call

func (UpdateProfilesResp) Status

func (r UpdateProfilesResp) Status() string

Status returns HTTPResponse.Status

func (UpdateProfilesResp) StatusCode

func (r UpdateProfilesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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