class Azure::Logic::Mgmt::V2018_07_01_preview::Models::IntegrationAccountAgreement

The integration account agreement.

Attributes

agreement_type[RW]

@return [AgreementType] The agreement type. Possible values include: 'NotSpecified', 'AS2', 'X12', 'Edifact'

changed_time[RW]

@return [DateTime] The changed time.

content[RW]

@return [AgreementContent] The agreement content.

created_time[RW]

@return [DateTime] The created time.

guest_identity[RW]

@return [BusinessIdentity] The business identity of the guest partner.

guest_partner[RW]

@return [String] The integration account partner that is set as guest partner for this agreement.

host_identity[RW]

@return [BusinessIdentity] The business identity of the host partner.

host_partner[RW]

@return [String] The integration account partner that is set as host partner for this agreement.

metadata[RW]

@return The metadata.

Private Class Methods

mapper() click to toggle source

Mapper for IntegrationAccountAgreement class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-07-01-preview/generated/azure_mgmt_logic/models/integration_account_agreement.rb, line 50
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IntegrationAccountAgreement',
    type: {
      name: 'Composite',
      class_name: 'IntegrationAccountAgreement',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        created_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdTime',
          type: {
            name: 'DateTime'
          }
        },
        changed_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.changedTime',
          type: {
            name: 'DateTime'
          }
        },
        metadata: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.metadata',
          type: {
            name: 'Object'
          }
        },
        agreement_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.agreementType',
          type: {
            name: 'Enum',
            module: 'AgreementType'
          }
        },
        host_partner: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.hostPartner',
          type: {
            name: 'String'
          }
        },
        guest_partner: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.guestPartner',
          type: {
            name: 'String'
          }
        },
        host_identity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.hostIdentity',
          type: {
            name: 'Composite',
            class_name: 'BusinessIdentity'
          }
        },
        guest_identity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.guestIdentity',
          type: {
            name: 'Composite',
            class_name: 'BusinessIdentity'
          }
        },
        content: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.content',
          type: {
            name: 'Composite',
            class_name: 'AgreementContent'
          }
        }
      }
    }
  }
end