Class: Humidifier::ApiGateway::RestApi

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::ApiGateway::RestApi resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#api_key_source_typeObject

returns the ApiKeySourceType property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def api_key_source_type
  properties['api_key_source_type']
end

#api_key_source_type=(value) ⇒ Object

sets the ApiKeySourceType property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def api_key_source_type=(value)
  update_property('api_key_source_type', value)
end

#binary_media_typesObject

returns the BinaryMediaTypes property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def binary_media_types
  properties['binary_media_types']
end

#binary_media_types=(value) ⇒ Object

sets the BinaryMediaTypes property (List)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def binary_media_types=(value)
  update_property('binary_media_types', value)
end

#bodyObject

returns the Body property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def body
  properties['body']
end

#body=(value) ⇒ Object

sets the Body property (Json)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def body=(value)
  update_property('body', value)
end

#body_s3_locationObject

returns the BodyS3Location property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def body_s3_location
  properties['body_s3_location']
end

#body_s3_location=(value) ⇒ Object

sets the BodyS3Location property (Structure)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def body_s3_location=(value)
  update_property('body_s3_location', value)
end

#clone_fromObject

returns the CloneFrom property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def clone_from
  properties['clone_from']
end

#clone_from=(value) ⇒ Object

sets the CloneFrom property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def clone_from=(value)
  update_property('clone_from', value)
end

#descriptionObject

returns the Description property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def description=(value)
  update_property('description', value)
end

#disable_execute_api_endpointObject

returns the DisableExecuteApiEndpoint property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def disable_execute_api_endpoint
  properties['disable_execute_api_endpoint']
end

#disable_execute_api_endpoint=(value) ⇒ Object

sets the DisableExecuteApiEndpoint property (Boolean)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def disable_execute_api_endpoint=(value)
  update_property('disable_execute_api_endpoint', value)
end

#endpoint_configurationObject

returns the EndpointConfiguration property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def endpoint_configuration
  properties['endpoint_configuration']
end

#endpoint_configuration=(value) ⇒ Object

sets the EndpointConfiguration property (Structure)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def endpoint_configuration=(value)
  update_property('endpoint_configuration', value)
end

#fail_on_warningsObject

returns the FailOnWarnings property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def fail_on_warnings
  properties['fail_on_warnings']
end

#fail_on_warnings=(value) ⇒ Object

sets the FailOnWarnings property (Boolean)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def fail_on_warnings=(value)
  update_property('fail_on_warnings', value)
end

#minimum_compression_sizeObject

returns the MinimumCompressionSize property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def minimum_compression_size
  properties['minimum_compression_size']
end

#minimum_compression_size=(value) ⇒ Object

sets the MinimumCompressionSize property (Integer)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def minimum_compression_size=(value)
  update_property('minimum_compression_size', value)
end

#modeObject

returns the Mode property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def mode
  properties['mode']
end

#mode=(value) ⇒ Object

sets the Mode property (String)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

def mode=(value)
  update_property('mode', value)
end

#nameObject

returns the Name property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

def name=(value)
  update_property('name', value)
end

#parametersObject

returns the Parameters property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def parameters
  properties['parameters']
end

#parameters=(value) ⇒ Object

sets the Parameters property (Map)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

def parameters=(value)
  update_property('parameters', value)
end

#policyObject

returns the Policy property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def policy
  properties['policy']
end

#policy=(value) ⇒ Object

sets the Policy property (Json)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

def policy=(value)
  update_property('policy', value)
end

#tagsObject

returns the Tags property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

def tags=(value)
  update_property('tags', value)
end