File: x12_envelope_override.py

package info (click to toggle)
python-azure 2.0.0~rc6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 269,052 kB
  • ctags: 9,428
  • sloc: python: 81,857; makefile: 149
file content (70 lines) | stat: -rw-r--r-- 3,466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class X12EnvelopeOverride(Model):
    """X12EnvelopeOverride.

    :param target_namespace: The target namespace on which this envelope
     settings has to be applied.
    :type target_namespace: str
    :param protocol_version: The protocol version on which this envelope
     settings has to be applied.
    :type protocol_version: str
    :param message_id: The message id on which this envelope settings has to
     be applied.
    :type message_id: str
    :param responsible_agency_code: The responsible agency code.
    :type responsible_agency_code: int
    :param header_version: The header version.
    :type header_version: str
    :param sender_application_id: The sender application id.
    :type sender_application_id: str
    :param receiver_application_id: The receiver application id.
    :type receiver_application_id: str
    :param functional_identifier_code: The functional identifier code.
    :type functional_identifier_code: str
    :param date_format: The date format. Possible values include:
     'NotSpecified', 'CCYYMMDD', 'YYMMDD'
    :type date_format: str or :class:`X12DateFormat
     <azure.mgmt.logic.models.X12DateFormat>`
    :param time_format: The time format. Possible values include:
     'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd'
    :type time_format: str or :class:`X12TimeFormat
     <azure.mgmt.logic.models.X12TimeFormat>`
    """ 

    _attribute_map = {
        'target_namespace': {'key': 'targetNamespace', 'type': 'str'},
        'protocol_version': {'key': 'protocolVersion', 'type': 'str'},
        'message_id': {'key': 'messageId', 'type': 'str'},
        'responsible_agency_code': {'key': 'responsibleAgencyCode', 'type': 'int'},
        'header_version': {'key': 'headerVersion', 'type': 'str'},
        'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'},
        'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'},
        'functional_identifier_code': {'key': 'functionalIdentifierCode', 'type': 'str'},
        'date_format': {'key': 'dateFormat', 'type': 'X12DateFormat'},
        'time_format': {'key': 'timeFormat', 'type': 'X12TimeFormat'},
    }

    def __init__(self, target_namespace=None, protocol_version=None, message_id=None, responsible_agency_code=None, header_version=None, sender_application_id=None, receiver_application_id=None, functional_identifier_code=None, date_format=None, time_format=None):
        self.target_namespace = target_namespace
        self.protocol_version = protocol_version
        self.message_id = message_id
        self.responsible_agency_code = responsible_agency_code
        self.header_version = header_version
        self.sender_application_id = sender_application_id
        self.receiver_application_id = receiver_application_id
        self.functional_identifier_code = functional_identifier_code
        self.date_format = date_format
        self.time_format = time_format