Class: Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb

Overview

The matching enterprise resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListEnterprisesResponse

Returns a new instance of ListEnterprisesResponse



844
845
846
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 844

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enterpriseArray<Google::Apis::AndroidenterpriseV1::Enterprise>

An enterprise. Corresponds to the JSON property enterprise



836
837
838
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 836

def enterprise
  @enterprise
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#enterprisesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


842
843
844
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 842

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



849
850
851
852
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 849

def update!(**args)
  @enterprise = args[:enterprise] if args.key?(:enterprise)
  @kind = args[:kind] if args.key?(:kind)
end