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.



692
693
694
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 692

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

Instance Attribute Details

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

An enterprise. Corresponds to the JSON property enterprise



684
685
686
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 684

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)


690
691
692
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 690

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



697
698
699
700
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 697

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