Sha256: 3c923a2f47480e632f7d7e9224217fb95d8c2451ffa6bbeb976598f2498a5141

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V7_0_0_42
  module Models
    #
    # Map service identity friendly name to an application identity.
    #
    class ServiceIdentity

      include MsRestAzure

      # @return [String] The identity friendly name.
      attr_accessor :name

      # @return [String] The application identity name.
      attr_accessor :identity_ref


      #
      # Mapper for ServiceIdentity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceIdentity',
          type: {
            name: 'Composite',
            class_name: 'ServiceIdentity',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              identity_ref: {
                client_side_validation: true,
                required: false,
                serialized_name: 'identityRef',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/service_identity.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/service_identity.rb