Sha256: a83a5481a721010589052fb2764d531060a86662fb34e961a97d36c01e736bbe

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

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

module Azure::ARM::Graph
  module Models
    #
    # Request parameters for adding a member to a group.
    #
    class GroupAddMemberParameters

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] A member object URL, such as
      # "https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd",
      # where "0b1f9851-1bf0-433f-aec3-cb9272f093dc" is the tenantId and
      # "f260bbc4-c254-447b-94cf-293b5ec434dd" is the objectId of the member
      # (user, application, servicePrincipal, group) to be added.
      attr_accessor :url


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_graph-0.12.0 lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb
azure_mgmt_graph-0.11.0 lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb