in partnercenter/azext_partnercenter/vendored_sdks/v1/partnercenter/api/property_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_properties_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCommonPagedCollectionMicrosoftIngestionApiModelsPropertiesBaseProperty,),
'auth': [],
'endpoint_path': '/products/{productID}/properties',
'operation_id': 'products_product_id_properties_get',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'product_id',
'authorization',
'client_request_id',
],
'required': [
'product_id',
'authorization',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'authorization':
(str,),
'client_request_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
'authorization': 'Authorization',
'client_request_id': 'Client-Request-ID',
},
'location_map': {
'product_id': 'path',
'authorization': 'header',
'client_request_id': 'header',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_properties_get_by_instance_id_instance_i_dinstance_id_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsCommonPagedCollectionMicrosoftIngestionApiModelsPropertiesBaseProperty,),
'auth': [],
'endpoint_path': '/products/{productID}/properties/getByInstanceID(instanceID={instanceID})',
'operation_id': 'products_product_id_properties_get_by_instance_id_instance_i_dinstance_id_get',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'product_id',
'instance_id',
'authorization',
'client_request_id',
],
'required': [
'product_id',
'instance_id',
'authorization',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'instance_id':
(str,),
'authorization':
(str,),
'client_request_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
'instance_id': 'instanceID',
'authorization': 'Authorization',
'client_request_id': 'Client-Request-ID',
},
'location_map': {
'product_id': 'path',
'instance_id': 'path',
'authorization': 'header',
'client_request_id': 'header',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_properties_post_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsPropertiesAzureProperty,),
'auth': [],
'endpoint_path': '/products/{productID}/properties',
'operation_id': 'products_product_id_properties_post',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'product_id',
'authorization',
'client_request_id',
'microsoft_ingestion_api_models_properties_azure_property',
],
'required': [
'product_id',
'authorization',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'authorization':
(str,),
'client_request_id':
(str,),
'microsoft_ingestion_api_models_properties_azure_property':
(MicrosoftIngestionApiModelsPropertiesAzureProperty,),
},
'attribute_map': {
'product_id': 'productID',
'authorization': 'Authorization',
'client_request_id': 'Client-Request-ID',
},
'location_map': {
'product_id': 'path',
'authorization': 'header',
'client_request_id': 'header',
'microsoft_ingestion_api_models_properties_azure_property': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.products_product_id_properties_property_id_get_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsPropertiesAzureProperty,),
'auth': [],
'endpoint_path': '/products/{productID}/properties/{propertyID}',
'operation_id': 'products_product_id_properties_property_id_get',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'product_id',
'property_id',
'authorization',
'client_request_id',
],
'required': [
'product_id',
'property_id',
'authorization',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'property_id':
(str,),
'authorization':
(str,),
'client_request_id':
(str,),
},
'attribute_map': {
'product_id': 'productID',
'property_id': 'propertyID',
'authorization': 'Authorization',
'client_request_id': 'Client-Request-ID',
},
'location_map': {
'product_id': 'path',
'property_id': 'path',
'authorization': 'header',
'client_request_id': 'header',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.products_product_id_properties_property_id_put_endpoint = _Endpoint(
settings={
'response_type': (MicrosoftIngestionApiModelsPropertiesAzureProperty,),
'auth': [],
'endpoint_path': '/products/{productID}/properties/{propertyID}',
'operation_id': 'products_product_id_properties_property_id_put',
'http_method': 'PUT',
'servers': None,
},
params_map={
'all': [
'product_id',
'property_id',
'authorization',
'client_request_id',
'microsoft_ingestion_api_models_properties_azure_property',
],
'required': [
'product_id',
'property_id',
'authorization',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'product_id':
(str,),
'property_id':
(str,),
'authorization':
(str,),
'client_request_id':
(str,),
'microsoft_ingestion_api_models_properties_azure_property':
(MicrosoftIngestionApiModelsPropertiesAzureProperty,),
},
'attribute_map': {
'product_id': 'productID',
'property_id': 'propertyID',
'authorization': 'Authorization',
'client_request_id': 'Client-Request-ID',
},
'location_map': {
'product_id': 'path',
'property_id': 'path',
'authorization': 'header',
'client_request_id': 'header',
'microsoft_ingestion_api_models_properties_azure_property': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)