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



578
579
580
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 578

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

Instance Attribute Details

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

An enterprise. Corresponds to the JSON property enterprise



570
571
572
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 570

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)


576
577
578
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 576

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



583
584
585
586
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 583

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