wsc_sdk 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +146 -0
- data/.circleci/docker/build/Dockerfile +3 -0
- data/.circleci/helpers/add_preamble.rb +29 -0
- data/.circleci/helpers/build_docs.sh +5 -0
- data/.circleci/helpers/build_gem.sh +5 -0
- data/.circleci/helpers/debundle-context.sh +14 -0
- data/.circleci/helpers/finalize_release.sh +24 -0
- data/.circleci/helpers/publish_docs.sh +10 -0
- data/.circleci/helpers/release_gem.sh +8 -0
- data/.circleci/helpers/setup.sh +11 -0
- data/.circleci/helpers/setup_aws.sh +13 -0
- data/.circleci/helpers/setup_gem.sh +2 -0
- data/.circleci/helpers/setup_git.sh +27 -0
- data/.circleci/helpers/setup_rubygems.sh +15 -0
- data/.circleci/helpers/test_integration.sh +12 -0
- data/.circleci/helpers/test_unit.sh +6 -0
- data/.circleci/jobs/publish-production.sh +17 -0
- data/.circleci/jobs/publish-staging.sh +17 -0
- data/.circleci/jobs/release-production.sh +21 -0
- data/.circleci/jobs/test-integration.sh +9 -0
- data/.circleci/jobs/test-unit.sh +9 -0
- data/.circleci/tag_repo.rb +46 -0
- data/.gitignore +28 -0
- data/.rspec +2 -0
- data/.yard/config +2 -0
- data/.yard/template/default/fulldoc/html/css/custom.css +151 -0
- data/.yard/template/default/layout/html/footer.erb +0 -0
- data/.yard/template/default/layout/html/headers.erb +10 -0
- data/.yard/template/default/layout/html/layout.erb +45 -0
- data/.yard/template/default/layout/html/setup.rb +24 -0
- data/.yardopts +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +99 -0
- data/LICENSE.txt +28 -0
- data/README.md +397 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/doc/Hash.html +291 -0
- data/doc/WscSdk.html +570 -0
- data/doc/WscSdk/ApiResponse.html +242 -0
- data/doc/WscSdk/Attributes.html +128 -0
- data/doc/WscSdk/Attributes/Mode.html +191 -0
- data/doc/WscSdk/Attributes/Type.html +389 -0
- data/doc/WscSdk/Client.html +2677 -0
- data/doc/WscSdk/Configuration.html +595 -0
- data/doc/WscSdk/Endpoint.html +2974 -0
- data/doc/WscSdk/Endpoints.html +141 -0
- data/doc/WscSdk/Endpoints/CustomStreamTargets.html +383 -0
- data/doc/WscSdk/Endpoints/LiveStreams.html +197 -0
- data/doc/WscSdk/Endpoints/OutputStreamTargets.html +180 -0
- data/doc/WscSdk/Endpoints/Outputs.html +180 -0
- data/doc/WscSdk/Endpoints/StreamTargets.html +446 -0
- data/doc/WscSdk/Endpoints/Transcoders.html +197 -0
- data/doc/WscSdk/Endpoints/UllStreamTargets.html +383 -0
- data/doc/WscSdk/Endpoints/WowzaStreamTargets.html +383 -0
- data/doc/WscSdk/Enum.html +225 -0
- data/doc/WscSdk/Enums.html +321 -0
- data/doc/WscSdk/Enums/BillingMode.html +188 -0
- data/doc/WscSdk/Enums/BroadcastLocation.html +396 -0
- data/doc/WscSdk/Enums/BufferSize.html +301 -0
- data/doc/WscSdk/Enums/ClosedCaptionType.html +221 -0
- data/doc/WscSdk/Enums/CustomProvider.html +252 -0
- data/doc/WscSdk/Enums/DeliveryMethod.html +188 -0
- data/doc/WscSdk/Enums/DeliveryType.html +188 -0
- data/doc/WscSdk/Enums/Encoder.html +460 -0
- data/doc/WscSdk/Enums/Errors.html +555 -0
- data/doc/WscSdk/Enums/IdleTimeout.html +398 -0
- data/doc/WscSdk/Enums/ImagePosition.html +220 -0
- data/doc/WscSdk/Enums/ModelMode.html +175 -0
- data/doc/WscSdk/Enums/ModelType.html +373 -0
- data/doc/WscSdk/Enums/PlayerType.html +188 -0
- data/doc/WscSdk/Enums/Protocol.html +204 -0
- data/doc/WscSdk/Enums/TargetDeliveryProtocol.html +188 -0
- data/doc/WscSdk/Enums/TranscoderType.html +188 -0
- data/doc/WscSdk/Enums/UserRegion.html +383 -0
- data/doc/WscSdk/Enums/WowzaProvider.html +188 -0
- data/doc/WscSdk/Errors.html +683 -0
- data/doc/WscSdk/Loggable.html +346 -0
- data/doc/WscSdk/Model.html +3316 -0
- data/doc/WscSdk/ModelList.html +442 -0
- data/doc/WscSdk/ModelTemplate.html +267 -0
- data/doc/WscSdk/Models.html +141 -0
- data/doc/WscSdk/Models/CustomStreamTarget.html +192 -0
- data/doc/WscSdk/Models/Error.html +351 -0
- data/doc/WscSdk/Models/LiveStream.html +601 -0
- data/doc/WscSdk/Models/LiveStreamConnectionCode.html +192 -0
- data/doc/WscSdk/Models/LiveStreamState.html +200 -0
- data/doc/WscSdk/Models/LiveStreamStats.html +200 -0
- data/doc/WscSdk/Models/LiveStreamThumbnailUrl.html +200 -0
- data/doc/WscSdk/Models/Output.html +294 -0
- data/doc/WscSdk/Models/OutputStreamTarget.html +274 -0
- data/doc/WscSdk/Models/StreamTarget.html +273 -0
- data/doc/WscSdk/Models/Transcoder.html +793 -0
- data/doc/WscSdk/Models/TranscoderBooleanStat.html +278 -0
- data/doc/WscSdk/Models/TranscoderConnectionCode.html +192 -0
- data/doc/WscSdk/Models/TranscoderFloatStat.html +278 -0
- data/doc/WscSdk/Models/TranscoderIntegerStat.html +278 -0
- data/doc/WscSdk/Models/TranscoderState.html +196 -0
- data/doc/WscSdk/Models/TranscoderStats.html +196 -0
- data/doc/WscSdk/Models/TranscoderStreamTargetState.html +192 -0
- data/doc/WscSdk/Models/TranscoderStringStat.html +278 -0
- data/doc/WscSdk/Models/TranscoderThumbnailUrl.html +196 -0
- data/doc/WscSdk/Models/UllStreamTarget.html +360 -0
- data/doc/WscSdk/Models/WowzaStreamTarget.html +380 -0
- data/doc/WscSdk/Pagination.html +1277 -0
- data/doc/WscSdk/Schema.html +861 -0
- data/doc/WscSdk/SchemaAttribute.html +2400 -0
- data/doc/WscSdk/Templates.html +141 -0
- data/doc/WscSdk/Templates/CustomStreamTarget.html +1045 -0
- data/doc/WscSdk/Templates/LiveStream.html +1432 -0
- data/doc/WscSdk/Templates/Output.html +829 -0
- data/doc/WscSdk/Templates/Transcoder.html +699 -0
- data/doc/WscSdk/Templates/UllStreamTarget.html +411 -0
- data/doc/WscSdk/Templates/WowzaStreamTarget.html +447 -0
- data/doc/WscSdk/TranscoderSharedMethods.html +1113 -0
- data/doc/_index.html +705 -0
- data/doc/class_list.html +51 -0
- data/doc/css/bootstrap.css +5 -0
- data/doc/css/common.css +1 -0
- data/doc/css/custom.css +151 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.README.html +570 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/images/wsc-ruby-1800x400.png +0 -0
- data/doc/index.html +570 -0
- data/doc/js/app.js +292 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +1731 -0
- data/doc/top-level-namespace.html +182 -0
- data/examples/client.rb +40 -0
- data/examples/helpers.rb +100 -0
- data/examples/live_streams/create.rb +39 -0
- data/examples/live_streams/delete.rb +32 -0
- data/examples/live_streams/find.rb +22 -0
- data/examples/live_streams/flood.rb +126 -0
- data/examples/live_streams/list.rb +24 -0
- data/examples/live_streams/regenerate_connection_code.rb +29 -0
- data/examples/live_streams/reset.rb +32 -0
- data/examples/live_streams/reset_and_wait.rb +51 -0
- data/examples/live_streams/start.rb +33 -0
- data/examples/live_streams/start_and_wait.rb +51 -0
- data/examples/live_streams/state.rb +33 -0
- data/examples/live_streams/stats.rb +43 -0
- data/examples/live_streams/stop.rb +33 -0
- data/examples/live_streams/stop_and_wait.rb +51 -0
- data/examples/live_streams/thumbnail_url.rb +46 -0
- data/examples/live_streams/update.rb +43 -0
- data/examples/live_streams/workflow.rb +165 -0
- data/examples/output_stream_targets/create.rb +56 -0
- data/examples/output_stream_targets/delete.rb +45 -0
- data/examples/output_stream_targets/find.rb +37 -0
- data/examples/output_stream_targets/list.rb +36 -0
- data/examples/output_stream_targets/update.rb +56 -0
- data/examples/outputs/create.rb +49 -0
- data/examples/outputs/delete.rb +39 -0
- data/examples/outputs/find.rb +31 -0
- data/examples/outputs/list.rb +29 -0
- data/examples/outputs/update.rb +50 -0
- data/examples/stream_targets/custom/create.rb +42 -0
- data/examples/stream_targets/custom/delete.rb +31 -0
- data/examples/stream_targets/custom/find.rb +23 -0
- data/examples/stream_targets/custom/list.rb +24 -0
- data/examples/stream_targets/custom/update.rb +43 -0
- data/examples/stream_targets/list.rb +24 -0
- data/examples/stream_targets/ull/create.rb +41 -0
- data/examples/stream_targets/ull/delete.rb +31 -0
- data/examples/stream_targets/ull/find.rb +23 -0
- data/examples/stream_targets/ull/list.rb +24 -0
- data/examples/stream_targets/ull/update.rb +43 -0
- data/examples/stream_targets/wowza/create.rb +42 -0
- data/examples/stream_targets/wowza/delete.rb +31 -0
- data/examples/stream_targets/wowza/find.rb +23 -0
- data/examples/stream_targets/wowza/list.rb +23 -0
- data/examples/stream_targets/wowza/update.rb +43 -0
- data/examples/transcoders/create.rb +39 -0
- data/examples/transcoders/delete.rb +31 -0
- data/examples/transcoders/find.rb +23 -0
- data/examples/transcoders/list.rb +24 -0
- data/examples/transcoders/reset.rb +32 -0
- data/examples/transcoders/reset_and_wait.rb +48 -0
- data/examples/transcoders/start.rb +33 -0
- data/examples/transcoders/start_and_wait.rb +50 -0
- data/examples/transcoders/state.rb +33 -0
- data/examples/transcoders/stats.rb +43 -0
- data/examples/transcoders/stop.rb +33 -0
- data/examples/transcoders/stop_and_wait.rb +50 -0
- data/examples/transcoders/thumbnail_url.rb +46 -0
- data/examples/transcoders/update.rb +43 -0
- data/images/wsc-ruby-1800x400.png +0 -0
- data/lib/wsc_sdk.rb +81 -0
- data/lib/wsc_sdk/client.rb +417 -0
- data/lib/wsc_sdk/configuration.rb +21 -0
- data/lib/wsc_sdk/constants.rb +29 -0
- data/lib/wsc_sdk/endpoint.rb +492 -0
- data/lib/wsc_sdk/endpoints/custom_stream_targets.rb +44 -0
- data/lib/wsc_sdk/endpoints/live_streams.rb +34 -0
- data/lib/wsc_sdk/endpoints/output_stream_targets.rb +17 -0
- data/lib/wsc_sdk/endpoints/outputs.rb +17 -0
- data/lib/wsc_sdk/endpoints/stream_targets.rb +45 -0
- data/lib/wsc_sdk/endpoints/transcoders.rb +38 -0
- data/lib/wsc_sdk/endpoints/ull_stream_targets.rb +44 -0
- data/lib/wsc_sdk/endpoints/wowza_stream_targets.rb +44 -0
- data/lib/wsc_sdk/enums.rb +31 -0
- data/lib/wsc_sdk/enums/billing_mode.rb +20 -0
- data/lib/wsc_sdk/enums/broadcast_location.rb +58 -0
- data/lib/wsc_sdk/enums/buffer_size.rb +41 -0
- data/lib/wsc_sdk/enums/closed_caption_type.rb +26 -0
- data/lib/wsc_sdk/enums/custom_provider.rb +32 -0
- data/lib/wsc_sdk/enums/delivery_method.rb +20 -0
- data/lib/wsc_sdk/enums/delivery_type.rb +20 -0
- data/lib/wsc_sdk/enums/encoder.rb +71 -0
- data/lib/wsc_sdk/enums/idle_timeout.rb +50 -0
- data/lib/wsc_sdk/enums/image_position.rb +26 -0
- data/lib/wsc_sdk/enums/player_type.rb +20 -0
- data/lib/wsc_sdk/enums/protocol.rb +23 -0
- data/lib/wsc_sdk/enums/target_delivery_protocol.rb +20 -0
- data/lib/wsc_sdk/enums/transcoder_type.rb +20 -0
- data/lib/wsc_sdk/enums/wowza_provider.rb +20 -0
- data/lib/wsc_sdk/errors.rb +115 -0
- data/lib/wsc_sdk/model.rb +515 -0
- data/lib/wsc_sdk/model_list.rb +42 -0
- data/lib/wsc_sdk/model_template.rb +27 -0
- data/lib/wsc_sdk/models/custom_stream_target.rb +34 -0
- data/lib/wsc_sdk/models/error.rb +53 -0
- data/lib/wsc_sdk/models/live_stream.rb +130 -0
- data/lib/wsc_sdk/models/live_stream_connection_code.rb +31 -0
- data/lib/wsc_sdk/models/live_stream_state.rb +20 -0
- data/lib/wsc_sdk/models/live_stream_stats.rb +20 -0
- data/lib/wsc_sdk/models/live_stream_thumbnail_url.rb +20 -0
- data/lib/wsc_sdk/models/output.rb +61 -0
- data/lib/wsc_sdk/models/output_stream_target.rb +37 -0
- data/lib/wsc_sdk/models/stream_target.rb +29 -0
- data/lib/wsc_sdk/models/transcoder.rb +135 -0
- data/lib/wsc_sdk/models/transcoder_boolean_stat.rb +41 -0
- data/lib/wsc_sdk/models/transcoder_connection_code.rb +29 -0
- data/lib/wsc_sdk/models/transcoder_float_stat.rb +40 -0
- data/lib/wsc_sdk/models/transcoder_integer_stat.rb +40 -0
- data/lib/wsc_sdk/models/transcoder_state.rb +31 -0
- data/lib/wsc_sdk/models/transcoder_stats.rb +51 -0
- data/lib/wsc_sdk/models/transcoder_stream_target_state.rb +29 -0
- data/lib/wsc_sdk/models/transcoder_string_stat.rb +40 -0
- data/lib/wsc_sdk/models/transcoder_thumbnail_url.rb +29 -0
- data/lib/wsc_sdk/models/ull_stream_target.rb +54 -0
- data/lib/wsc_sdk/models/wowza_stream_target.rb +60 -0
- data/lib/wsc_sdk/modules/api_response.rb +24 -0
- data/lib/wsc_sdk/modules/loggable.rb +44 -0
- data/lib/wsc_sdk/modules/transcoder_shared_methods.rb +221 -0
- data/lib/wsc_sdk/pagination.rb +89 -0
- data/lib/wsc_sdk/schema.rb +140 -0
- data/lib/wsc_sdk/schema_attribute.rb +349 -0
- data/lib/wsc_sdk/templates/custom_stream_target.rb +154 -0
- data/lib/wsc_sdk/templates/live_stream.rb +234 -0
- data/lib/wsc_sdk/templates/output.rb +133 -0
- data/lib/wsc_sdk/templates/transcoder.rb +97 -0
- data/lib/wsc_sdk/templates/ull_stream_target.rb +49 -0
- data/lib/wsc_sdk/templates/wowza_stream_target.rb +57 -0
- data/lib/wsc_sdk/version.rb +7 -0
- data/wsc_sdk.gemspec +48 -0
- metadata +460 -0
@@ -0,0 +1,360 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>Wowza Streaming Cloud - SDK Code Documentation</title>
|
7
|
+
|
8
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../../css/custom.css" type="text/css" charset="utf-8" />
|
13
|
+
|
14
|
+
<script type="text/javascript" charset="utf-8">
|
15
|
+
pathId = "WscSdk::Models::UllStreamTarget";
|
16
|
+
relpath = '../../';
|
17
|
+
</script>
|
18
|
+
|
19
|
+
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
23
|
+
|
24
|
+
|
25
|
+
</head>
|
26
|
+
<body>
|
27
|
+
<div id="wowza-wrapper">
|
28
|
+
<header>
|
29
|
+
<div class="logo">
|
30
|
+
<a href="https://www.wowza.com">
|
31
|
+
<img src="https://cloud.wowza.com/apidocs/assets/logo.png" alt="Wowza Logo" />
|
32
|
+
</a>
|
33
|
+
<h1>Wowza Streaming Cloud<br/>SDK Code Documentation</h1>
|
34
|
+
<div class="clearfix"></div>
|
35
|
+
</div>
|
36
|
+
<div class="links">
|
37
|
+
<a href="https://www.wowza.com/">Wowza Home</a>
|
38
|
+
<a href="https://www.wowza.com/docs">Docs & APIS</a>
|
39
|
+
<a href="https://www.wowza.com/community/index.html">Forums</a>
|
40
|
+
<a href="https://www.wowza.com/support">Support</a>
|
41
|
+
</div>
|
42
|
+
<div class="clearfix"></div>
|
43
|
+
</header>
|
44
|
+
|
45
|
+
<div id="content">
|
46
|
+
<div class="nav_wrap">
|
47
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
48
|
+
<div id="resizer"></div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="main" tabindex="-1">
|
52
|
+
<div id="header">
|
53
|
+
<div id="menu">
|
54
|
+
|
55
|
+
<a href="../../_index.html">Index (U)</a> »
|
56
|
+
<span class='title'><span class='object_link'><a href="../../WscSdk.html" title="WscSdk (module)">WscSdk</a></span></span> » <span class='title'><span class='object_link'><a href="../Models.html" title="WscSdk::Models (module)">Models</a></span></span>
|
57
|
+
»
|
58
|
+
<span class="title">UllStreamTarget</span>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="search">
|
63
|
+
|
64
|
+
<a class="full_list_link" id="class_list_link"
|
65
|
+
href="../../class_list.html">
|
66
|
+
|
67
|
+
<svg width="24" height="24">
|
68
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
69
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
70
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
71
|
+
</svg>
|
72
|
+
</a>
|
73
|
+
|
74
|
+
</div>
|
75
|
+
<div class="clear"></div>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
<div id="content"><h1>Class: WscSdk::Models::UllStreamTarget
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
</h1>
|
83
|
+
<div class="box_info">
|
84
|
+
|
85
|
+
<dl>
|
86
|
+
<dt>Inherits:</dt>
|
87
|
+
<dd>
|
88
|
+
<span class="inheritName"><span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></span>
|
89
|
+
|
90
|
+
<ul class="fullTree">
|
91
|
+
<li>Object</li>
|
92
|
+
|
93
|
+
<li class="next"><span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></li>
|
94
|
+
|
95
|
+
<li class="next">WscSdk::Models::UllStreamTarget</li>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
<a href="#" class="inheritanceTree">show all</a>
|
99
|
+
|
100
|
+
</dd>
|
101
|
+
</dl>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<dl>
|
114
|
+
<dt>Defined in:</dt>
|
115
|
+
<dd>lib/wsc_sdk/models/ull_stream_target.rb</dd>
|
116
|
+
</dl>
|
117
|
+
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<h2>Overview</h2><div class="docstring">
|
121
|
+
<div class="discussion">
|
122
|
+
|
123
|
+
<p>A model to represent a ULL Stream Target in the Wowza Streaming Cloud API.</p>
|
124
|
+
|
125
|
+
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
<div class="tags">
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<h2>Instance Attribute Summary</h2>
|
138
|
+
|
139
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></h3>
|
140
|
+
<p class="inherited"><span class='object_link'><a href="../Model.html#attributes-instance_method" title="WscSdk::Model#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="../Model.html#changes-instance_method" title="WscSdk::Model#changes (method)">#changes</a></span>, <span class='object_link'><a href="../Model.html#data_mode-instance_method" title="WscSdk::Model#data_mode (method)">#data_mode</a></span>, <span class='object_link'><a href="../Model.html#endpoint-instance_method" title="WscSdk::Model#endpoint (method)">#endpoint</a></span>, <span class='object_link'><a href="../Model.html#errors-instance_method" title="WscSdk::Model#errors (method)">#errors</a></span>, <span class='object_link'><a href="../Model.html#partial_data-instance_method" title="WscSdk::Model#partial_data (method)">#partial_data</a></span></p>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<h2>
|
145
|
+
Instance Method Summary
|
146
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
147
|
+
</h2>
|
148
|
+
|
149
|
+
<ul class="summary">
|
150
|
+
|
151
|
+
<li class="public ">
|
152
|
+
<span class="summary_signature">
|
153
|
+
|
154
|
+
<a href="#new_model_access-instance_method" title="#new_model_access (instance method)">#<strong>new_model_access</strong> ⇒ Symbol </a>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
</span>
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
<span class="summary_desc"><div class='inline'>
|
169
|
+
<p>Determines the access level of the model based on whether it's a new
|
170
|
+
model or not.</p>
|
171
|
+
</div></span>
|
172
|
+
|
173
|
+
</li>
|
174
|
+
|
175
|
+
|
176
|
+
<li class="public ">
|
177
|
+
<span class="summary_signature">
|
178
|
+
|
179
|
+
<a href="#source_url_required_if_pull-instance_method" title="#source_url_required_if_pull (instance method)">#<strong>source_url_required_if_pull</strong> ⇒ Object </a>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
</span>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<span class="summary_desc"><div class='inline'>
|
194
|
+
<p>Determines the requirement of the source_url field based on whether the
|
195
|
+
target has a `pull` source delivery method.</p>
|
196
|
+
</div></span>
|
197
|
+
|
198
|
+
</li>
|
199
|
+
|
200
|
+
|
201
|
+
</ul>
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></h3>
|
214
|
+
<p class="inherited"><span class='object_link'><a href="../Model.html#add_error-instance_method" title="WscSdk::Model#add_error (method)">#add_error</a></span>, <span class='object_link'><a href="../Model.html#attribute-class_method" title="WscSdk::Model.attribute (method)">attribute</a></span>, <span class='object_link'><a href="../Model.html#build_payload-instance_method" title="WscSdk::Model#build_payload (method)">#build_payload</a></span>, <span class='object_link'><a href="../Model.html#build_payload!-instance_method" title="WscSdk::Model#build_payload! (method)">#build_payload!</a></span>, <span class='object_link'><a href="../Model.html#clean!-instance_method" title="WscSdk::Model#clean! (method)">#clean!</a></span>, <span class='object_link'><a href="../Model.html#clear_primary_key-instance_method" title="WscSdk::Model#clear_primary_key (method)">#clear_primary_key</a></span>, <span class='object_link'><a href="../Model.html#delete-instance_method" title="WscSdk::Model#delete (method)">#delete</a></span>, <span class='object_link'><a href="../Model.html#dirty%3F-instance_method" title="WscSdk::Model#dirty? (method)">#dirty?</a></span>, <span class='object_link'><a href="../Model.html#has_attribute%3F-instance_method" title="WscSdk::Model#has_attribute? (method)">#has_attribute?</a></span>, <span class='object_link'><a href="../Model.html#ingest_attribute-instance_method" title="WscSdk::Model#ingest_attribute (method)">#ingest_attribute</a></span>, <span class='object_link'><a href="../Model.html#ingest_attributes-instance_method" title="WscSdk::Model#ingest_attributes (method)">#ingest_attributes</a></span>, <span class='object_link'><a href="../Model.html#initialize-instance_method" title="WscSdk::Model#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Model.html#initialize_attributes-instance_method" title="WscSdk::Model#initialize_attributes (method)">#initialize_attributes</a></span>, <span class='object_link'><a href="../Model.html#model_name_plural-class_method" title="WscSdk::Model.model_name_plural (method)">model_name_plural</a></span>, <span class='object_link'><a href="../Model.html#model_name_singular-class_method" title="WscSdk::Model.model_name_singular (method)">model_name_singular</a></span>, <span class='object_link'><a href="../Model.html#new_model%3F-instance_method" title="WscSdk::Model#new_model? (method)">#new_model?</a></span>, <span class='object_link'><a href="../Model.html#primary_key-class_method" title="WscSdk::Model.primary_key (method)">primary_key</a></span>, <span class='object_link'><a href="../Model.html#primary_key-instance_method" title="WscSdk::Model#primary_key (method)">#primary_key</a></span>, <span class='object_link'><a href="../Model.html#primary_key_attribute-instance_method" title="WscSdk::Model#primary_key_attribute (method)">#primary_key_attribute</a></span>, <span class='object_link'><a href="../Model.html#refresh-instance_method" title="WscSdk::Model#refresh (method)">#refresh</a></span>, <span class='object_link'><a href="../Model.html#save-instance_method" title="WscSdk::Model#save (method)">#save</a></span>, <span class='object_link'><a href="../Model.html#schema-class_method" title="WscSdk::Model.schema (method)">schema</a></span>, <span class='object_link'><a href="../Model.html#schema-instance_method" title="WscSdk::Model#schema (method)">#schema</a></span>, <span class='object_link'><a href="../Model.html#success%3F-instance_method" title="WscSdk::Model#success? (method)">#success?</a></span>, <span class='object_link'><a href="../Model.html#valid!-instance_method" title="WscSdk::Model#valid! (method)">#valid!</a></span>, <span class='object_link'><a href="../Model.html#valid%3F-instance_method" title="WscSdk::Model#valid? (method)">#valid?</a></span>, <span class='object_link'><a href="../Model.html#validate-instance_method" title="WscSdk::Model#validate (method)">#validate</a></span></p>
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Loggable.html" title="WscSdk::Loggable (module)">Loggable</a></span></h3>
|
225
|
+
<p class="inherited"><span class='object_link'><a href="../Loggable.html#logger-instance_method" title="WscSdk::Loggable#logger (method)">#logger</a></span>, <span class='object_link'><a href="../Loggable.html#logger=-instance_method" title="WscSdk::Loggable#logger= (method)">#logger=</a></span></p>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="../ApiResponse.html" title="WscSdk::ApiResponse (module)">ApiResponse</a></span></h3>
|
236
|
+
<p class="inherited"><span class='object_link'><a href="../ApiResponse.html#success%3F-instance_method" title="WscSdk::ApiResponse#success? (method)">#success?</a></span></p>
|
237
|
+
<div id="constructor_details" class="method_details_list">
|
238
|
+
<h2>Constructor Details</h2>
|
239
|
+
|
240
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Model.html#initialize-instance_method" title="WscSdk::Model#initialize (method)">WscSdk::Model</a></span></p>
|
241
|
+
|
242
|
+
</div>
|
243
|
+
|
244
|
+
|
245
|
+
<div id="instance_method_details" class="method_details_list">
|
246
|
+
<h2>Instance Method Details</h2>
|
247
|
+
|
248
|
+
|
249
|
+
<div class="method_details first">
|
250
|
+
<h3 class="signature first" id="new_model_access-instance_method">
|
251
|
+
|
252
|
+
#<strong>new_model_access</strong> ⇒ <tt>Symbol</tt>
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
</h3><div class="docstring">
|
259
|
+
<div class="discussion">
|
260
|
+
|
261
|
+
<p>Determines the access level of the model based on whether it's a new
|
262
|
+
model or not.</p>
|
263
|
+
|
264
|
+
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
<div class="tags">
|
268
|
+
|
269
|
+
<p class="tag_title">Returns:</p>
|
270
|
+
<ul class="return">
|
271
|
+
|
272
|
+
<li>
|
273
|
+
|
274
|
+
|
275
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
—
|
280
|
+
<div class='inline'>
|
281
|
+
<p>Returns :read_write if it's a new model, or :read if it's not.</p>
|
282
|
+
</div>
|
283
|
+
|
284
|
+
</li>
|
285
|
+
|
286
|
+
</ul>
|
287
|
+
|
288
|
+
</div><table class="source_code">
|
289
|
+
<tr>
|
290
|
+
<td>
|
291
|
+
<pre class="lines">
|
292
|
+
|
293
|
+
|
294
|
+
42
|
295
|
+
43
|
296
|
+
44</pre>
|
297
|
+
</td>
|
298
|
+
<td>
|
299
|
+
<pre class="code"><span class="info file"># File 'lib/wsc_sdk/models/ull_stream_target.rb', line 42</span>
|
300
|
+
|
301
|
+
<span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">new_model_access</span>
|
302
|
+
<span style="color:#069">self</span>.new_model? ? <span style="color:#A60">:read_write</span> : <span style="color:#A60">:read</span>
|
303
|
+
<span style="color:#080;font-weight:bold">end</span></pre>
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
</table>
|
307
|
+
</div>
|
308
|
+
|
309
|
+
<div class="method_details ">
|
310
|
+
<h3 class="signature " id="source_url_required_if_pull-instance_method">
|
311
|
+
|
312
|
+
#<strong>source_url_required_if_pull</strong> ⇒ <tt>Object</tt>
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
</h3><div class="docstring">
|
319
|
+
<div class="discussion">
|
320
|
+
|
321
|
+
<p>Determines the requirement of the source_url field based on whether the
|
322
|
+
target has a `pull` source delivery method.</p>
|
323
|
+
|
324
|
+
|
325
|
+
</div>
|
326
|
+
</div>
|
327
|
+
<div class="tags">
|
328
|
+
|
329
|
+
|
330
|
+
</div><table class="source_code">
|
331
|
+
<tr>
|
332
|
+
<td>
|
333
|
+
<pre class="lines">
|
334
|
+
|
335
|
+
|
336
|
+
49
|
337
|
+
50
|
338
|
+
51</pre>
|
339
|
+
</td>
|
340
|
+
<td>
|
341
|
+
<pre class="code"><span class="info file"># File 'lib/wsc_sdk/models/ull_stream_target.rb', line 49</span>
|
342
|
+
|
343
|
+
<span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">source_url_required_if_pull</span>
|
344
|
+
<span style="color:#069">self</span>.source_delivery_method == <span style="color:#036;font-weight:bold">WscSdk</span>::<span style="color:#036;font-weight:bold">Enums</span>::<span style="color:#036;font-weight:bold">DeliveryMethod</span>::<span style="color:#036;font-weight:bold">PULL</span>
|
345
|
+
<span style="color:#080;font-weight:bold">end</span></pre>
|
346
|
+
</td>
|
347
|
+
</tr>
|
348
|
+
</table>
|
349
|
+
</div>
|
350
|
+
|
351
|
+
</div>
|
352
|
+
|
353
|
+
</div>
|
354
|
+
|
355
|
+
|
356
|
+
</div>
|
357
|
+
</div>
|
358
|
+
</div>
|
359
|
+
</body>
|
360
|
+
</html>
|
@@ -0,0 +1,380 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>Wowza Streaming Cloud - SDK Code Documentation</title>
|
7
|
+
|
8
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../../css/custom.css" type="text/css" charset="utf-8" />
|
13
|
+
|
14
|
+
<script type="text/javascript" charset="utf-8">
|
15
|
+
pathId = "WscSdk::Models::WowzaStreamTarget";
|
16
|
+
relpath = '../../';
|
17
|
+
</script>
|
18
|
+
|
19
|
+
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
23
|
+
|
24
|
+
|
25
|
+
</head>
|
26
|
+
<body>
|
27
|
+
<div id="wowza-wrapper">
|
28
|
+
<header>
|
29
|
+
<div class="logo">
|
30
|
+
<a href="https://www.wowza.com">
|
31
|
+
<img src="https://cloud.wowza.com/apidocs/assets/logo.png" alt="Wowza Logo" />
|
32
|
+
</a>
|
33
|
+
<h1>Wowza Streaming Cloud<br/>SDK Code Documentation</h1>
|
34
|
+
<div class="clearfix"></div>
|
35
|
+
</div>
|
36
|
+
<div class="links">
|
37
|
+
<a href="https://www.wowza.com/">Wowza Home</a>
|
38
|
+
<a href="https://www.wowza.com/docs">Docs & APIS</a>
|
39
|
+
<a href="https://www.wowza.com/community/index.html">Forums</a>
|
40
|
+
<a href="https://www.wowza.com/support">Support</a>
|
41
|
+
</div>
|
42
|
+
<div class="clearfix"></div>
|
43
|
+
</header>
|
44
|
+
|
45
|
+
<div id="content">
|
46
|
+
<div class="nav_wrap">
|
47
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
48
|
+
<div id="resizer"></div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="main" tabindex="-1">
|
52
|
+
<div id="header">
|
53
|
+
<div id="menu">
|
54
|
+
|
55
|
+
<a href="../../_index.html">Index (W)</a> »
|
56
|
+
<span class='title'><span class='object_link'><a href="../../WscSdk.html" title="WscSdk (module)">WscSdk</a></span></span> » <span class='title'><span class='object_link'><a href="../Models.html" title="WscSdk::Models (module)">Models</a></span></span>
|
57
|
+
»
|
58
|
+
<span class="title">WowzaStreamTarget</span>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="search">
|
63
|
+
|
64
|
+
<a class="full_list_link" id="class_list_link"
|
65
|
+
href="../../class_list.html">
|
66
|
+
|
67
|
+
<svg width="24" height="24">
|
68
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
69
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
70
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
71
|
+
</svg>
|
72
|
+
</a>
|
73
|
+
|
74
|
+
</div>
|
75
|
+
<div class="clear"></div>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
<div id="content"><h1>Class: WscSdk::Models::WowzaStreamTarget
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
</h1>
|
83
|
+
<div class="box_info">
|
84
|
+
|
85
|
+
<dl>
|
86
|
+
<dt>Inherits:</dt>
|
87
|
+
<dd>
|
88
|
+
<span class="inheritName"><span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></span>
|
89
|
+
|
90
|
+
<ul class="fullTree">
|
91
|
+
<li>Object</li>
|
92
|
+
|
93
|
+
<li class="next"><span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></li>
|
94
|
+
|
95
|
+
<li class="next">WscSdk::Models::WowzaStreamTarget</li>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
<a href="#" class="inheritanceTree">show all</a>
|
99
|
+
|
100
|
+
</dd>
|
101
|
+
</dl>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<dl>
|
114
|
+
<dt>Defined in:</dt>
|
115
|
+
<dd>lib/wsc_sdk/models/wowza_stream_target.rb</dd>
|
116
|
+
</dl>
|
117
|
+
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<h2>Overview</h2><div class="docstring">
|
121
|
+
<div class="discussion">
|
122
|
+
|
123
|
+
<p>A model to represent a Wowza Stream Target in the Wowza Streaming Cloud
|
124
|
+
API.</p>
|
125
|
+
|
126
|
+
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
<div class="tags">
|
130
|
+
|
131
|
+
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
<h2>Instance Attribute Summary</h2>
|
139
|
+
|
140
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></h3>
|
141
|
+
<p class="inherited"><span class='object_link'><a href="../Model.html#attributes-instance_method" title="WscSdk::Model#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="../Model.html#changes-instance_method" title="WscSdk::Model#changes (method)">#changes</a></span>, <span class='object_link'><a href="../Model.html#data_mode-instance_method" title="WscSdk::Model#data_mode (method)">#data_mode</a></span>, <span class='object_link'><a href="../Model.html#endpoint-instance_method" title="WscSdk::Model#endpoint (method)">#endpoint</a></span>, <span class='object_link'><a href="../Model.html#errors-instance_method" title="WscSdk::Model#errors (method)">#errors</a></span>, <span class='object_link'><a href="../Model.html#partial_data-instance_method" title="WscSdk::Model#partial_data (method)">#partial_data</a></span></p>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<h2>
|
146
|
+
Instance Method Summary
|
147
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
148
|
+
</h2>
|
149
|
+
|
150
|
+
<ul class="summary">
|
151
|
+
|
152
|
+
<li class="public ">
|
153
|
+
<span class="summary_signature">
|
154
|
+
|
155
|
+
<a href="#new_location_access-instance_method" title="#new_location_access (instance method)">#<strong>new_location_access</strong> ⇒ Symbol </a>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
</span>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
<span class="summary_desc"><div class='inline'>
|
170
|
+
<p>Location can only be set if its a new record and not an Akmai Cupertino
|
171
|
+
provider.</p>
|
172
|
+
</div></span>
|
173
|
+
|
174
|
+
</li>
|
175
|
+
|
176
|
+
|
177
|
+
<li class="public ">
|
178
|
+
<span class="summary_signature">
|
179
|
+
|
180
|
+
<a href="#new_model_access-instance_method" title="#new_model_access (instance method)">#<strong>new_model_access</strong> ⇒ Symbol </a>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
</span>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
<span class="summary_desc"><div class='inline'>
|
195
|
+
<p>Determines the access level of the model based on whether it's a new
|
196
|
+
model or not.</p>
|
197
|
+
</div></span>
|
198
|
+
|
199
|
+
</li>
|
200
|
+
|
201
|
+
|
202
|
+
</ul>
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Model.html" title="WscSdk::Model (class)">WscSdk::Model</a></span></h3>
|
215
|
+
<p class="inherited"><span class='object_link'><a href="../Model.html#add_error-instance_method" title="WscSdk::Model#add_error (method)">#add_error</a></span>, <span class='object_link'><a href="../Model.html#attribute-class_method" title="WscSdk::Model.attribute (method)">attribute</a></span>, <span class='object_link'><a href="../Model.html#build_payload-instance_method" title="WscSdk::Model#build_payload (method)">#build_payload</a></span>, <span class='object_link'><a href="../Model.html#build_payload!-instance_method" title="WscSdk::Model#build_payload! (method)">#build_payload!</a></span>, <span class='object_link'><a href="../Model.html#clean!-instance_method" title="WscSdk::Model#clean! (method)">#clean!</a></span>, <span class='object_link'><a href="../Model.html#clear_primary_key-instance_method" title="WscSdk::Model#clear_primary_key (method)">#clear_primary_key</a></span>, <span class='object_link'><a href="../Model.html#delete-instance_method" title="WscSdk::Model#delete (method)">#delete</a></span>, <span class='object_link'><a href="../Model.html#dirty%3F-instance_method" title="WscSdk::Model#dirty? (method)">#dirty?</a></span>, <span class='object_link'><a href="../Model.html#has_attribute%3F-instance_method" title="WscSdk::Model#has_attribute? (method)">#has_attribute?</a></span>, <span class='object_link'><a href="../Model.html#ingest_attribute-instance_method" title="WscSdk::Model#ingest_attribute (method)">#ingest_attribute</a></span>, <span class='object_link'><a href="../Model.html#ingest_attributes-instance_method" title="WscSdk::Model#ingest_attributes (method)">#ingest_attributes</a></span>, <span class='object_link'><a href="../Model.html#initialize-instance_method" title="WscSdk::Model#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Model.html#initialize_attributes-instance_method" title="WscSdk::Model#initialize_attributes (method)">#initialize_attributes</a></span>, <span class='object_link'><a href="../Model.html#model_name_plural-class_method" title="WscSdk::Model.model_name_plural (method)">model_name_plural</a></span>, <span class='object_link'><a href="../Model.html#model_name_singular-class_method" title="WscSdk::Model.model_name_singular (method)">model_name_singular</a></span>, <span class='object_link'><a href="../Model.html#new_model%3F-instance_method" title="WscSdk::Model#new_model? (method)">#new_model?</a></span>, <span class='object_link'><a href="../Model.html#primary_key-class_method" title="WscSdk::Model.primary_key (method)">primary_key</a></span>, <span class='object_link'><a href="../Model.html#primary_key-instance_method" title="WscSdk::Model#primary_key (method)">#primary_key</a></span>, <span class='object_link'><a href="../Model.html#primary_key_attribute-instance_method" title="WscSdk::Model#primary_key_attribute (method)">#primary_key_attribute</a></span>, <span class='object_link'><a href="../Model.html#refresh-instance_method" title="WscSdk::Model#refresh (method)">#refresh</a></span>, <span class='object_link'><a href="../Model.html#save-instance_method" title="WscSdk::Model#save (method)">#save</a></span>, <span class='object_link'><a href="../Model.html#schema-class_method" title="WscSdk::Model.schema (method)">schema</a></span>, <span class='object_link'><a href="../Model.html#schema-instance_method" title="WscSdk::Model#schema (method)">#schema</a></span>, <span class='object_link'><a href="../Model.html#success%3F-instance_method" title="WscSdk::Model#success? (method)">#success?</a></span>, <span class='object_link'><a href="../Model.html#valid!-instance_method" title="WscSdk::Model#valid! (method)">#valid!</a></span>, <span class='object_link'><a href="../Model.html#valid%3F-instance_method" title="WscSdk::Model#valid? (method)">#valid?</a></span>, <span class='object_link'><a href="../Model.html#validate-instance_method" title="WscSdk::Model#validate (method)">#validate</a></span></p>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Loggable.html" title="WscSdk::Loggable (module)">Loggable</a></span></h3>
|
226
|
+
<p class="inherited"><span class='object_link'><a href="../Loggable.html#logger-instance_method" title="WscSdk::Loggable#logger (method)">#logger</a></span>, <span class='object_link'><a href="../Loggable.html#logger=-instance_method" title="WscSdk::Loggable#logger= (method)">#logger=</a></span></p>
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="../ApiResponse.html" title="WscSdk::ApiResponse (module)">ApiResponse</a></span></h3>
|
237
|
+
<p class="inherited"><span class='object_link'><a href="../ApiResponse.html#success%3F-instance_method" title="WscSdk::ApiResponse#success? (method)">#success?</a></span></p>
|
238
|
+
<div id="constructor_details" class="method_details_list">
|
239
|
+
<h2>Constructor Details</h2>
|
240
|
+
|
241
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Model.html#initialize-instance_method" title="WscSdk::Model#initialize (method)">WscSdk::Model</a></span></p>
|
242
|
+
|
243
|
+
</div>
|
244
|
+
|
245
|
+
|
246
|
+
<div id="instance_method_details" class="method_details_list">
|
247
|
+
<h2>Instance Method Details</h2>
|
248
|
+
|
249
|
+
|
250
|
+
<div class="method_details first">
|
251
|
+
<h3 class="signature first" id="new_location_access-instance_method">
|
252
|
+
|
253
|
+
#<strong>new_location_access</strong> ⇒ <tt>Symbol</tt>
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
</h3><div class="docstring">
|
260
|
+
<div class="discussion">
|
261
|
+
|
262
|
+
<p>Location can only be set if its a new record and not an Akmai Cupertino
|
263
|
+
provider.</p>
|
264
|
+
|
265
|
+
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
<div class="tags">
|
269
|
+
|
270
|
+
<p class="tag_title">Returns:</p>
|
271
|
+
<ul class="return">
|
272
|
+
|
273
|
+
<li>
|
274
|
+
|
275
|
+
|
276
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
—
|
281
|
+
<div class='inline'>
|
282
|
+
<p>Returns :read_write if it's a new model and not a Akamai Cupertino
|
283
|
+
provider, or :read otherwise.</p>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
</li>
|
287
|
+
|
288
|
+
</ul>
|
289
|
+
|
290
|
+
</div><table class="source_code">
|
291
|
+
<tr>
|
292
|
+
<td>
|
293
|
+
<pre class="lines">
|
294
|
+
|
295
|
+
|
296
|
+
54
|
297
|
+
55
|
298
|
+
56</pre>
|
299
|
+
</td>
|
300
|
+
<td>
|
301
|
+
<pre class="code"><span class="info file"># File 'lib/wsc_sdk/models/wowza_stream_target.rb', line 54</span>
|
302
|
+
|
303
|
+
<span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">new_location_access</span>
|
304
|
+
(<span style="color:#069">self</span>.new_model? <span style="color:#080;font-weight:bold">and</span> <span style="color:#080;font-weight:bold">not</span> <span style="color:#069">self</span>.provider.start_with?(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">akamai_cupertino</span><span style="color:#710">"</span></span>)) ? <span style="color:#A60">:read_write</span> : <span style="color:#A60">:read</span>
|
305
|
+
<span style="color:#080;font-weight:bold">end</span></pre>
|
306
|
+
</td>
|
307
|
+
</tr>
|
308
|
+
</table>
|
309
|
+
</div>
|
310
|
+
|
311
|
+
<div class="method_details ">
|
312
|
+
<h3 class="signature " id="new_model_access-instance_method">
|
313
|
+
|
314
|
+
#<strong>new_model_access</strong> ⇒ <tt>Symbol</tt>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
</h3><div class="docstring">
|
321
|
+
<div class="discussion">
|
322
|
+
|
323
|
+
<p>Determines the access level of the model based on whether it's a new
|
324
|
+
model or not.</p>
|
325
|
+
|
326
|
+
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
<div class="tags">
|
330
|
+
|
331
|
+
<p class="tag_title">Returns:</p>
|
332
|
+
<ul class="return">
|
333
|
+
|
334
|
+
<li>
|
335
|
+
|
336
|
+
|
337
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
—
|
342
|
+
<div class='inline'>
|
343
|
+
<p>Returns :read_write if it's a new model, or :read if it's not.</p>
|
344
|
+
</div>
|
345
|
+
|
346
|
+
</li>
|
347
|
+
|
348
|
+
</ul>
|
349
|
+
|
350
|
+
</div><table class="source_code">
|
351
|
+
<tr>
|
352
|
+
<td>
|
353
|
+
<pre class="lines">
|
354
|
+
|
355
|
+
|
356
|
+
43
|
357
|
+
44
|
358
|
+
45</pre>
|
359
|
+
</td>
|
360
|
+
<td>
|
361
|
+
<pre class="code"><span class="info file"># File 'lib/wsc_sdk/models/wowza_stream_target.rb', line 43</span>
|
362
|
+
|
363
|
+
<span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">new_model_access</span>
|
364
|
+
<span style="color:#069">self</span>.new_model? ? <span style="color:#A60">:read_write</span> : <span style="color:#A60">:read</span>
|
365
|
+
<span style="color:#080;font-weight:bold">end</span></pre>
|
366
|
+
</td>
|
367
|
+
</tr>
|
368
|
+
</table>
|
369
|
+
</div>
|
370
|
+
|
371
|
+
</div>
|
372
|
+
|
373
|
+
</div>
|
374
|
+
|
375
|
+
|
376
|
+
</div>
|
377
|
+
</div>
|
378
|
+
</div>
|
379
|
+
</body>
|
380
|
+
</html>
|