in partnercenter/azext_partnercenter/vendored_sdks/v1/partnercenter/api/cosell_asset_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_cosell_assets_cosell_asset_id_delete_endpoint = _Endpoint(
settings={
'response_type': None,
'auth': [],
'endpoint_path': '/products/{productID}/cosellAssets/{cosellAssetID}',
'operation_id': 'products_product_id_cosell_assets_cosell_asset_id_delete',
'http_method': 'DELETE',
'servers': None,
},
params_map={
'all': [
'product_id',
'cosell_asset_id',
],
'required': [
'product_id',
'cosell_asset_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'cosell_asset_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
'cosell_asset_id': 'cosellAssetID',
},
'location_map': {
'product_id': 'path',
'cosell_asset_id': 'path',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_cosell_assets_cosell_asset_id_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCosellCosellAsset,),
'auth': [],
'endpoint_path': '/products/{productID}/cosellAssets/{cosellAssetID}',
'operation_id': 'products_product_id_cosell_assets_cosell_asset_id_get',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'product_id',
'cosell_asset_id',
],
'required': [
'product_id',
'cosell_asset_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'cosell_asset_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
'cosell_asset_id': 'cosellAssetID',
},
'location_map': {
'product_id': 'path',
'cosell_asset_id': 'path',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_cosell_assets_cosell_asset_id_put_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCosellCosellAsset,),
'auth': [],
'endpoint_path': '/products/{productID}/cosellAssets/{cosellAssetID}',
'operation_id': 'products_product_id_cosell_assets_cosell_asset_id_put',
'http_method': 'PUT',
'servers': None,
},
params_map={
'all': [
'product_id',
'cosell_asset_id',
'microsoft_ingestion_api_models_cosell_cosell_asset',
],
'required': [
'product_id',
'cosell_asset_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'cosell_asset_id':
(str,),
'microsoft_ingestion_api_models_cosell_cosell_asset':
(MicrosoftIngestionApiModelsCosellCosellAsset,),
},
'attribute_map': {
'product_id': 'productID',
'cosell_asset_id': 'cosellAssetID',
},
'location_map': {
'product_id': 'path',
'cosell_asset_id': 'path',
'microsoft_ingestion_api_models_cosell_cosell_asset': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.products_product_id_cosell_assets_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCommonPagedCollectionMicrosoftIngestionApiModelsCosellCosellAsset,),
'auth': [],
'endpoint_path': '/products/{productID}/cosellAssets',
'operation_id': 'products_product_id_cosell_assets_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_cosell_assets_get_by_instance_id_instance_i_dinstance_id_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCommonPagedCollectionMicrosoftIngestionApiModelsCosellCosellAsset,),
'auth': [],
'endpoint_path': '/products/{productID}/cosellAssets/getByInstanceID(instanceID={instanceID})',
'operation_id': 'products_product_id_cosell_assets_get_by_instance_id_instance_i_dinstance_id_get',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'product_id',
'instance_id',
],
'required': [
'product_id',
'instance_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'instance_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
'instance_id': 'instanceID',
},
'location_map': {
'product_id': 'path',
'instance_id': 'path',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_cosell_assets_post_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCosellCosellAsset,),
'auth': [],
'endpoint_path': '/products/{productID}/cosellAssets',
'operation_id': 'products_product_id_cosell_assets_post',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'product_id',
'microsoft_ingestion_api_models_cosell_cosell_asset',
],
'required': [
'product_id',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'microsoft_ingestion_api_models_cosell_cosell_asset':
(MicrosoftIngestionApiModelsCosellCosellAsset,),
},
'attribute_map': {
'product_id': 'productID',
},
'location_map': {
'product_id': 'path',
'microsoft_ingestion_api_models_cosell_cosell_asset': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)