Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalOrganization

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

Overview

Organization details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalOrganization

Returns a new instance of SasPortalOrganization.



1238
1239
1240
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1238

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

Instance Attribute Details

#display_nameString

Name of organization Corresponds to the JSON property displayName

Returns:

  • (String)


1231
1232
1233
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1231

def display_name
  @display_name
end

#idFixnum

Id of organization Corresponds to the JSON property id

Returns:

  • (Fixnum)


1236
1237
1238
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1236

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1243
1244
1245
1246
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1243

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