Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSipTrunksResponse

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

Overview

The response message for SipTrunks.ListSipTrunks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ListSipTrunksResponse

Returns a new instance of GoogleCloudDialogflowV2ListSipTrunksResponse.



15540
15541
15542
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15540

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


15533
15534
15535
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15533

def next_page_token
  @next_page_token
end

#sip_trunksArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk>

The list of SIP trunks. Corresponds to the JSON property sipTrunks



15538
15539
15540
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15538

def sip_trunks
  @sip_trunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15545
15546
15547
15548
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15545

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