Class: Peddler::APIs::NotificationsV1::CreateDestinationRequest

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/notifications_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


46
47
48
# File 'sig/peddler/apis/notifications_v1.rbs', line 46

def name
  @name
end

#resource_specificationPeddler::APIs::NotificationsV1::DestinationResourceSpecification (readonly)

Returns the value of attribute resource_specification.



47
48
49
# File 'sig/peddler/apis/notifications_v1.rbs', line 47

def resource_specification
  @resource_specification
end

Class Method Details

.[](name:, resource_specification:) ⇒ Peddler::APIs::NotificationsV1::CreateDestinationRequest .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::CreateDestinationRequest



39
40
# File 'sig/peddler/apis/notifications_v1.rbs', line 39

def self.[]: (name: String, resource_specification: Peddler::APIs::NotificationsV1::DestinationResourceSpecification) -> Peddler::APIs::NotificationsV1::CreateDestinationRequest
| (String, Peddler::APIs::NotificationsV1::DestinationResourceSpecification) -> Peddler::APIs::NotificationsV1::CreateDestinationRequest

.members[ :name, :resource_specification ]

Returns:

  • ([ :name, :resource_specification ])


42
# File 'sig/peddler/apis/notifications_v1.rbs', line 42

def self.members: () -> [ :name, :resource_specification ]

.new(name:, resource_specification:) ⇒ Peddler::APIs::NotificationsV1::CreateDestinationRequest .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::CreateDestinationRequest



37
38
# File 'sig/peddler/apis/notifications_v1.rbs', line 37

def self.new: (name: String, resource_specification: Peddler::APIs::NotificationsV1::DestinationResourceSpecification) -> Peddler::APIs::NotificationsV1::CreateDestinationRequest
| (String, Peddler::APIs::NotificationsV1::DestinationResourceSpecification) -> Peddler::APIs::NotificationsV1::CreateDestinationRequest

.parsePeddler::APIs::NotificationsV1::CreateDestinationRequest

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



44
# File 'sig/peddler/apis/notifications_v1.rbs', line 44

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::CreateDestinationRequest

Instance Method Details

#members[ :name, :resource_specification ]

Returns:

  • ([ :name, :resource_specification ])


49
# File 'sig/peddler/apis/notifications_v1.rbs', line 49

def members: () -> [ :name, :resource_specification ]

#to_h{ name: String, resource_specification: Peddler::APIs::NotificationsV1::DestinationResourceSpecification }

Returns:



50
# File 'sig/peddler/apis/notifications_v1.rbs', line 50

def to_h: () -> { name: String, resource_specification: Peddler::APIs::NotificationsV1::DestinationResourceSpecification }