in partnercenter/azext_partnercenter/vendored_sdks/v1/partnercenter/api/reseller_configuration_client.py [0:0]
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
self.products_product_id_reseller_configuration_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsResellerResellerConfiguration,),
'auth': [],
'endpoint_path': '/products/{productID}/resellerConfiguration',
'operation_id': 'products_product_id_reseller_configuration_get',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'product_id',
],
'required': [
'product_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
},
'location_map': {
'product_id': 'path',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_reseller_configuration_post_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsResellerResellerConfiguration,),
'auth': [],
'endpoint_path': '/products/{productID}/resellerConfiguration',
'operation_id': 'products_product_id_reseller_configuration_post',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'product_id',
'microsoft_ingestion_api_models_reseller_reseller_configuration',
],
'required': [
'product_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'microsoft_ingestion_api_models_reseller_reseller_configuration':
(MicrosoftIngestionApiModelsResellerResellerConfiguration,),
},
'attribute_map': {
'product_id': 'productID',
},
'location_map': {
'product_id': 'path',
'microsoft_ingestion_api_models_reseller_reseller_configuration': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)