def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.update_payment_service_item_status_endpoint = _Endpoint( settings={ 'response_type': (PaymentServiceItem, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}/payment-service-items/{paymentServiceItemID}/status', 'operation_id': 'update_payment_service_item_status', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'payment_service_item_id', 'if_match', 'body', ], 'required': [ 'move_task_order_id', 'payment_service_item_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'payment_service_item_id': (str, ), 'if_match': (str, ), 'body': (PaymentServiceItem, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'payment_service_item_id': 'paymentServiceItemID', 'if_match': 'If-Match', }, 'location_map': { 'move_task_order_id': 'path', 'payment_service_item_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_document_endpoint = _Endpoint( settings={ 'response_type': (DocumentPayload,), 'auth': [], 'endpoint_path': '/documents/{documentId}', 'operation_id': 'get_document', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'document_id', ], 'required': [ 'document_id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'document_id': (str,), }, 'attribute_map': { 'document_id': 'documentId', }, 'location_map': { 'document_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ '*/*' ], 'content_type': [], }, api_client=api_client )
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.fetch_mto_agent_list_endpoint = _Endpoint( settings={ 'response_type': (MTOAgents, ), 'auth': [], 'endpoint_path': '/move_task_orders/{moveTaskOrderID}/mto_shipments/{shipmentID}/mto-agents', 'operation_id': 'fetch_mto_agent_list', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'shipment_id', ], 'required': [ 'move_task_order_id', 'shipment_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'shipment_id': (str, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'shipment_id': 'shipmentID', }, 'location_map': { 'move_task_order_id': 'path', 'shipment_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.tac_validation_endpoint = _Endpoint(settings={ 'response_type': (TacValid, ), 'auth': [], 'endpoint_path': '/tac/valid', 'operation_id': 'tac_validation', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'tac', ], 'required': [ 'tac', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'tac': (str, ), }, 'attribute_map': { 'tac': 'tac', }, 'location_map': { 'tac': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['*/*'], 'content_type': [], }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.request_shipment_reweigh_endpoint = _Endpoint( settings={ 'response_type': (Reweigh, ), 'auth': [], 'endpoint_path': '/shipments/{shipmentID}/request-reweigh', 'operation_id': 'request_shipment_reweigh', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'shipment_id', ], 'required': [ 'shipment_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'shipment_id': (str, ), }, 'attribute_map': { 'shipment_id': 'shipmentID', }, 'location_map': { 'shipment_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_customer_endpoint = _Endpoint(settings={ 'response_type': (Customer, ), 'auth': [], 'endpoint_path': '/customer/{customerID}', 'operation_id': 'get_customer', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'customer_id', ], 'required': [ 'customer_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'customer_id': (str, ), }, 'attribute_map': { 'customer_id': 'customerID', }, 'location_map': { 'customer_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.update_customer_endpoint = _Endpoint( settings={ 'response_type': (Customer, ), 'auth': [], 'endpoint_path': '/customer/{customerID}', 'operation_id': 'update_customer', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'customer_id', 'if_match', 'body', ], 'required': [ 'customer_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'customer_id': (str, ), 'if_match': (str, ), 'body': (UpdateCustomerPayload, ), }, 'attribute_map': { 'customer_id': 'customerID', 'if_match': 'If-Match', }, 'location_map': { 'customer_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.approve_sit_extension_endpoint = _Endpoint( settings={ 'response_type': (MTOShipment,), 'auth': [], 'endpoint_path': '/shipments/{shipmentID}/sit-extensions/{sitExtensionID}/approve', 'operation_id': 'approve_sit_extension', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'shipment_id', 'sit_extension_id', 'if_match', 'body', ], 'required': [ 'shipment_id', 'sit_extension_id', 'if_match', 'body', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'shipment_id': (str,), 'sit_extension_id': (str,), 'if_match': (str,), 'body': (ApproveSITExtension,), }, 'attribute_map': { 'shipment_id': 'shipmentID', 'sit_extension_id': 'sitExtensionID', 'if_match': 'If-Match', }, 'location_map': { 'shipment_id': 'path', 'sit_extension_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [ 'application/json' ] }, api_client=api_client ) self.create_sit_extension_as_too_endpoint = _Endpoint( settings={ 'response_type': (MTOShipment,), 'auth': [], 'endpoint_path': '/shipments/{shipmentID}/sit-extensions/', 'operation_id': 'create_sit_extension_as_too', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'shipment_id', 'if_match', 'body', ], 'required': [ 'shipment_id', 'if_match', 'body', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'shipment_id': (str,), 'if_match': (str,), 'body': (CreateSITExtensionAsTOO,), }, 'attribute_map': { 'shipment_id': 'shipmentID', 'if_match': 'If-Match', }, 'location_map': { 'shipment_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [ 'application/json' ] }, api_client=api_client ) self.deny_sit_extension_endpoint = _Endpoint( settings={ 'response_type': (MTOShipment,), 'auth': [], 'endpoint_path': '/shipments/{shipmentID}/sit-extensions/{sitExtensionID}/deny', 'operation_id': 'deny_sit_extension', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'shipment_id', 'sit_extension_id', 'if_match', 'body', ], 'required': [ 'shipment_id', 'sit_extension_id', 'if_match', 'body', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'shipment_id': (str,), 'sit_extension_id': (str,), 'if_match': (str,), 'body': (DenySITExtension,), }, 'attribute_map': { 'shipment_id': 'shipmentID', 'sit_extension_id': 'sitExtensionID', 'if_match': 'If-Match', }, 'location_map': { 'shipment_id': 'path', 'sit_extension_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [ 'application/json' ] }, api_client=api_client )
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.acknowledge_excess_weight_risk_endpoint = _Endpoint( settings={ 'response_type': (Move, ), 'auth': [], 'endpoint_path': '/orders/{orderID}/acknowledge-excess-weight-risk', 'operation_id': 'acknowledge_excess_weight_risk', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', ], 'required': [ 'order_id', 'if_match', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.counseling_update_allowance_endpoint = _Endpoint( settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/counseling/orders/{orderID}/allowances', 'operation_id': 'counseling_update_allowance', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', 'body', ], 'required': [ 'order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), 'body': (CounselingUpdateAllowancePayload, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.counseling_update_order_endpoint = _Endpoint( settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/counseling/orders/{orderID}', 'operation_id': 'counseling_update_order', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', 'body', ], 'required': [ 'order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), 'body': (CounselingUpdateOrderPayload, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.get_order_endpoint = _Endpoint(settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/orders/{orderID}', 'operation_id': 'get_order', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'order_id', ], 'required': [ 'order_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), }, 'attribute_map': { 'order_id': 'orderID', }, 'location_map': { 'order_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.tac_validation_endpoint = _Endpoint(settings={ 'response_type': (TacValid, ), 'auth': [], 'endpoint_path': '/tac/valid', 'operation_id': 'tac_validation', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'tac', ], 'required': [ 'tac', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'tac': (str, ), }, 'attribute_map': { 'tac': 'tac', }, 'location_map': { 'tac': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['*/*'], 'content_type': [], }, api_client=api_client) self.update_allowance_endpoint = _Endpoint( settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/orders/{orderID}/allowances', 'operation_id': 'update_allowance', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', 'body', ], 'required': [ 'order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), 'body': (UpdateAllowancePayload, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.update_billable_weight_endpoint = _Endpoint( settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/orders/{orderID}/update-billable-weight', 'operation_id': 'update_billable_weight', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', 'body', ], 'required': [ 'order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), 'body': (UpdateBillableWeightPayload, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.update_max_billable_weight_as_tio_endpoint = _Endpoint( settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/orders/{orderID}/update-max-billable-weight/tio', 'operation_id': 'update_max_billable_weight_as_tio', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', 'body', ], 'required': [ 'order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), 'body': (UpdateMaxBillableWeightAsTIOPayload, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.update_order_endpoint = _Endpoint(settings={ 'response_type': (Order, ), 'auth': [], 'endpoint_path': '/orders/{orderID}', 'operation_id': 'update_order', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'order_id', 'if_match', 'body', ], 'required': [ 'order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'order_id': (str, ), 'if_match': (str, ), 'body': (UpdateOrderPayload, ), }, 'attribute_map': { 'order_id': 'orderID', 'if_match': 'If-Match', }, 'location_map': { 'order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_payment_request_endpoint = _Endpoint( settings={ 'response_type': (PaymentRequest, ), 'auth': [], 'endpoint_path': '/payment-requests/{paymentRequestID}', 'operation_id': 'get_payment_request', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'payment_request_id', ], 'required': [ 'payment_request_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'payment_request_id': (str, ), }, 'attribute_map': { 'payment_request_id': 'paymentRequestID', }, 'location_map': { 'payment_request_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_payment_requests_for_move_endpoint = _Endpoint( settings={ 'response_type': (PaymentRequests, ), 'auth': [], 'endpoint_path': '/moves/{locator}/payment-requests', 'operation_id': 'get_payment_requests_for_move', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'locator', ], 'required': [ 'locator', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'locator': (str, ), }, 'attribute_map': { 'locator': 'locator', }, 'location_map': { 'locator': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_shipments_payment_sit_balance_endpoint = _Endpoint( settings={ 'response_type': (ShipmentsPaymentSITBalance, ), 'auth': [], 'endpoint_path': '/payment-requests/{paymentRequestID}/shipments-payment-sit-balance', 'operation_id': 'get_shipments_payment_sit_balance', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'payment_request_id', ], 'required': [ 'payment_request_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'payment_request_id': (str, ), }, 'attribute_map': { 'payment_request_id': 'paymentRequestID', }, 'location_map': { 'payment_request_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.update_payment_request_status_endpoint = _Endpoint( settings={ 'response_type': (PaymentRequest, ), 'auth': [], 'endpoint_path': '/payment-requests/{paymentRequestID}/status', 'operation_id': 'update_payment_request_status', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'payment_request_id', 'if_match', 'body', ], 'required': [ 'payment_request_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'payment_request_id': (str, ), 'if_match': (str, ), 'body': (UpdatePaymentRequestStatusPayload, ), }, 'attribute_map': { 'payment_request_id': 'paymentRequestID', 'if_match': 'If-Match', }, 'location_map': { 'payment_request_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_moves_queue_endpoint = _Endpoint( settings={ 'response_type': (QueueMovesResult, ), 'auth': [], 'endpoint_path': '/queues/moves', 'operation_id': 'get_moves_queue', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'page', 'per_page', 'sort', 'order', 'branch', 'locator', 'last_name', 'dod_id', 'origin_duty_location', 'destination_duty_location', 'status', ], 'required': [], 'nullable': [], 'enum': [ 'sort', 'order', 'status', ], 'validation': [ 'status', ] }, root_map={ 'validations': { ('status', ): {}, }, 'allowed_values': { ('sort', ): { "LASTNAME": "lastName", "DODID": "dodID", "BRANCH": "branch", "LOCATOR": "locator", "STATUS": "status", "ORIGINDUTYLOCATION": "originDutyLocation", "DESTINATIONDUTYLOCATION": "destinationDutyLocation" }, ('order', ): { "ASC": "asc", "DESC": "desc" }, ('status', ): { "SUBMITTED": "SUBMITTED", "APPROVALS_REQUESTED": "APPROVALS REQUESTED", "APPROVED": "APPROVED" }, }, 'openapi_types': { 'page': (int, ), 'per_page': (int, ), 'sort': (str, ), 'order': (str, ), 'branch': (str, ), 'locator': (str, ), 'last_name': (str, ), 'dod_id': (str, ), 'origin_duty_location': (str, ), 'destination_duty_location': (str, ), 'status': ([str], ), }, 'attribute_map': { 'page': 'page', 'per_page': 'perPage', 'sort': 'sort', 'order': 'order', 'branch': 'branch', 'locator': 'locator', 'last_name': 'lastName', 'dod_id': 'dodID', 'origin_duty_location': 'originDutyLocation', 'destination_duty_location': 'destinationDutyLocation', 'status': 'status', }, 'location_map': { 'page': 'query', 'per_page': 'query', 'sort': 'query', 'order': 'query', 'branch': 'query', 'locator': 'query', 'last_name': 'query', 'dod_id': 'query', 'origin_duty_location': 'query', 'destination_duty_location': 'query', 'status': 'query', }, 'collection_format_map': { 'status': 'csv', } }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_payment_requests_queue_endpoint = _Endpoint( settings={ 'response_type': (QueuePaymentRequestsResult, ), 'auth': [], 'endpoint_path': '/queues/payment-requests', 'operation_id': 'get_payment_requests_queue', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'sort', 'order', 'page', 'per_page', 'submitted_at', 'branch', 'locator', 'last_name', 'dod_id', 'destination_duty_location', 'origin_duty_location', 'status', ], 'required': [], 'nullable': [], 'enum': [ 'sort', 'order', 'status', ], 'validation': [ 'status', ] }, root_map={ 'validations': { ('status', ): {}, }, 'allowed_values': { ('sort', ): { "LASTNAME": "lastName", "LOCATOR": "locator", "SUBMITTEDAT": "submittedAt", "BRANCH": "branch", "STATUS": "status", "DODID": "dodID", "AGE": "age", "ORIGINDUTYLOCATION": "originDutyLocation" }, ('order', ): { "ASC": "asc", "DESC": "desc" }, ('status', ): { "PAYMENT_REQUESTED": "Payment requested", "REVIEWED": "Reviewed", "REJECTED": "Rejected", "PAID": "Paid" }, }, 'openapi_types': { 'sort': (str, ), 'order': (str, ), 'page': (int, ), 'per_page': (int, ), 'submitted_at': (datetime, ), 'branch': (str, ), 'locator': (str, ), 'last_name': (str, ), 'dod_id': (str, ), 'destination_duty_location': (str, ), 'origin_duty_location': (str, ), 'status': ([str], ), }, 'attribute_map': { 'sort': 'sort', 'order': 'order', 'page': 'page', 'per_page': 'perPage', 'submitted_at': 'submittedAt', 'branch': 'branch', 'locator': 'locator', 'last_name': 'lastName', 'dod_id': 'dodID', 'destination_duty_location': 'destinationDutyLocation', 'origin_duty_location': 'originDutyLocation', 'status': 'status', }, 'location_map': { 'sort': 'query', 'order': 'query', 'page': 'query', 'per_page': 'query', 'submitted_at': 'query', 'branch': 'query', 'locator': 'query', 'last_name': 'query', 'dod_id': 'query', 'destination_duty_location': 'query', 'origin_duty_location': 'query', 'status': 'query', }, 'collection_format_map': { 'status': 'csv', } }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_services_counseling_queue_endpoint = _Endpoint( settings={ 'response_type': (QueueMovesResult, ), 'auth': [], 'endpoint_path': '/queues/counseling', 'operation_id': 'get_services_counseling_queue', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'page', 'per_page', 'sort', 'order', 'branch', 'locator', 'last_name', 'dod_id', 'requested_move_date', 'submitted_at', 'origin_gbloc', 'origin_duty_location', 'status', ], 'required': [], 'nullable': [], 'enum': [ 'sort', 'order', 'status', ], 'validation': [ 'status', ] }, root_map={ 'validations': { ('status', ): {}, }, 'allowed_values': { ('sort', ): { "LASTNAME": "lastName", "DODID": "dodID", "BRANCH": "branch", "LOCATOR": "locator", "STATUS": "status", "REQUESTEDMOVEDATE": "requestedMoveDate", "SUBMITTEDAT": "submittedAt", "ORIGINGBLOC": "originGBLOC", "ORIGINDUTYLOCATION": "originDutyLocation" }, ('order', ): { "ASC": "asc", "DESC": "desc" }, ('status', ): { "NEEDS_SERVICE_COUNSELING": "NEEDS SERVICE COUNSELING", "SERVICE_COUNSELING_COMPLETED": "SERVICE COUNSELING COMPLETED" }, }, 'openapi_types': { 'page': (int, ), 'per_page': (int, ), 'sort': (str, ), 'order': (str, ), 'branch': (str, ), 'locator': (str, ), 'last_name': (str, ), 'dod_id': (str, ), 'requested_move_date': (str, ), 'submitted_at': (datetime, ), 'origin_gbloc': (str, ), 'origin_duty_location': (str, ), 'status': ([str], ), }, 'attribute_map': { 'page': 'page', 'per_page': 'perPage', 'sort': 'sort', 'order': 'order', 'branch': 'branch', 'locator': 'locator', 'last_name': 'lastName', 'dod_id': 'dodID', 'requested_move_date': 'requestedMoveDate', 'submitted_at': 'submittedAt', 'origin_gbloc': 'originGBLOC', 'origin_duty_location': 'originDutyLocation', 'status': 'status', }, 'location_map': { 'page': 'query', 'per_page': 'query', 'sort': 'query', 'order': 'query', 'branch': 'query', 'locator': 'query', 'last_name': 'query', 'dod_id': 'query', 'requested_move_date': 'query', 'submitted_at': 'query', 'origin_gbloc': 'query', 'origin_duty_location': 'query', 'status': 'query', }, 'collection_format_map': { 'status': 'csv', } }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_move_endpoint = _Endpoint( settings={ 'response_type': (Move,), 'auth': [], 'endpoint_path': '/move/{locator}', 'operation_id': 'get_move', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'locator', ], 'required': [ 'locator', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'locator': (str,), }, 'attribute_map': { 'locator': 'locator', }, 'location_map': { 'locator': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [], }, api_client=api_client ) self.get_move_history_endpoint = _Endpoint( settings={ 'response_type': (MoveHistoryResult,), 'auth': [], 'endpoint_path': '/move/{locator}/history', 'operation_id': 'get_move_history', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'locator', 'page', 'per_page', ], 'required': [ 'locator', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'locator': (str,), 'page': (int,), 'per_page': (int,), }, 'attribute_map': { 'locator': 'locator', 'page': 'page', 'per_page': 'perPage', }, 'location_map': { 'locator': 'path', 'page': 'query', 'per_page': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [], }, api_client=api_client ) self.set_financial_review_flag_endpoint = _Endpoint( settings={ 'response_type': (Move,), 'auth': [], 'endpoint_path': '/moves/{moveID}/financial-review-flag', 'operation_id': 'set_financial_review_flag', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'move_id', 'if_match', 'body', ], 'required': [ 'move_id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'move_id': (str,), 'if_match': (str,), 'body': (InlineObject,), }, 'attribute_map': { 'move_id': 'moveID', 'if_match': 'If-Match', }, 'location_map': { 'move_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [ 'application/json' ] }, api_client=api_client )
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_entitlements_endpoint = _Endpoint( settings={ 'response_type': (Entitlements, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}/entitlements', 'operation_id': 'get_entitlements', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', ], 'required': [ 'move_task_order_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', }, 'location_map': { 'move_task_order_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_move_task_order_endpoint = _Endpoint( settings={ 'response_type': (MoveTaskOrder, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}', 'operation_id': 'get_move_task_order', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', ], 'required': [ 'move_task_order_id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', }, 'location_map': { 'move_task_order_id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.update_move_task_order_endpoint = _Endpoint( settings={ 'response_type': (MoveTaskOrder, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}', 'operation_id': 'update_move_task_order', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'if_match', 'body', ], 'required': [ 'move_task_order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'if_match': (str, ), 'body': (MoveTaskOrder, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'if_match': 'If-Match', }, 'location_map': { 'move_task_order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.update_move_task_order_status_endpoint = _Endpoint( settings={ 'response_type': (Move, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}/status', 'operation_id': 'update_move_task_order_status', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'if_match', 'service_item_codes', ], 'required': [ 'move_task_order_id', 'if_match', 'service_item_codes', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'if_match': (str, ), 'service_item_codes': (MTOApprovalServiceItemCodes, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'if_match': 'If-Match', }, 'location_map': { 'move_task_order_id': 'path', 'if_match': 'header', 'service_item_codes': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.update_move_tio_remarks_endpoint = _Endpoint( settings={ 'response_type': (Move, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}/tio-remarks', 'operation_id': 'update_move_tio_remarks', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'if_match', 'body', ], 'required': [ 'move_task_order_id', 'if_match', 'body', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'if_match': (str, ), 'body': (Move, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'if_match': 'If-Match', }, 'location_map': { 'move_task_order_id': 'path', 'if_match': 'header', 'body': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json'] }, api_client=api_client) self.update_mto_reviewed_billable_weights_at_endpoint = _Endpoint( settings={ 'response_type': (Move, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}/billable-weights-reviewed-at', 'operation_id': 'update_mto_reviewed_billable_weights_at', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'if_match', ], 'required': [ 'move_task_order_id', 'if_match', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'if_match': (str, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'if_match': 'If-Match', }, 'location_map': { 'move_task_order_id': 'path', 'if_match': 'header', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.update_mto_status_service_counseling_completed_endpoint = _Endpoint( settings={ 'response_type': (Move, ), 'auth': [], 'endpoint_path': '/move-task-orders/{moveTaskOrderID}/status/service-counseling-completed', 'operation_id': 'update_mto_status_service_counseling_completed', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'move_task_order_id', 'if_match', ], 'required': [ 'move_task_order_id', 'if_match', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'move_task_order_id': (str, ), 'if_match': (str, ), }, 'attribute_map': { 'move_task_order_id': 'moveTaskOrderID', 'if_match': 'If-Match', }, 'location_map': { 'move_task_order_id': 'path', 'if_match': 'header', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client)