Class: Google::Apis::CloudsearchV1::OtrChatMessageEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OtrChatMessageEvent

Returns a new instance of OtrChatMessageEvent.



12208
12209
12210
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12208

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

Instance Attribute Details

#expiration_timestamp_usecFixnum

Corresponds to the JSON property expirationTimestampUsec

Returns:

  • (Fixnum)


12191
12192
12193
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12191

def expiration_timestamp_usec
  @expiration_timestamp_usec
end

#kansas_row_idString

Corresponds to the JSON property kansasRowId

Returns:

  • (String)


12196
12197
12198
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12196

def kansas_row_id
  @kansas_row_id
end

#kansas_version_infoString

Corresponds to the JSON property kansasVersionInfo

Returns:

  • (String)


12201
12202
12203
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12201

def kansas_version_info
  @kansas_version_info
end

#message_otr_statusString

Corresponds to the JSON property messageOtrStatus

Returns:

  • (String)


12206
12207
12208
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12206

def message_otr_status
  @message_otr_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12213
12214
12215
12216
12217
12218
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12213

def update!(**args)
  @expiration_timestamp_usec = args[:expiration_timestamp_usec] if args.key?(:expiration_timestamp_usec)
  @kansas_row_id = args[:kansas_row_id] if args.key?(:kansas_row_id)
  @kansas_version_info = args[:kansas_version_info] if args.key?(:kansas_version_info)
  @message_otr_status = args[:message_otr_status] if args.key?(:message_otr_status)
end