Class: Stripe::V2::Core::EventDestinationCreateParams::AzureEventGrid

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/event_destination_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(azure_region: nil, azure_resource_group_name: nil, azure_subscription_id: nil) ⇒ AzureEventGrid

Returns a new instance of AzureEventGrid.



28
29
30
31
32
33
34
35
36
# File 'lib/stripe/params/v2/core/event_destination_create_params.rb', line 28

def initialize(
  azure_region: nil,
  azure_resource_group_name: nil,
  azure_subscription_id: nil
)
  @azure_region = azure_region
  @azure_resource_group_name = azure_resource_group_name
  @azure_subscription_id = azure_subscription_id
end

Instance Attribute Details

#azure_regionObject

The Azure region.



22
23
24
# File 'lib/stripe/params/v2/core/event_destination_create_params.rb', line 22

def azure_region
  @azure_region
end

#azure_resource_group_nameObject

The name of the Azure resource group.



24
25
26
# File 'lib/stripe/params/v2/core/event_destination_create_params.rb', line 24

def azure_resource_group_name
  @azure_resource_group_name
end

#azure_subscription_idObject

The Azure subscription ID.



26
27
28
# File 'lib/stripe/params/v2/core/event_destination_create_params.rb', line 26

def azure_subscription_id
  @azure_subscription_id
end