def get_group_members_as_lazy(object_id, custom_headers:nil)
      response = get_group_members_async(object_id, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_link|
          get_group_members_next_async(next_link, custom_headers:custom_headers)
        end
        page
      end
    end
def get_group_members_as_lazy(object_id, custom_headers:nil)
      response = get_group_members_async(object_id, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_link|
          get_group_members_next_async(next_link, custom_headers:custom_headers)
        end
        page
      end
    end
Gets the members of a group.

 @param object_id [String] The object ID of the group whose members should be
 retrieved.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [GetObjectsResult] which provide lazy access to pages of the
 response.