-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
3,215 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
145 changes: 145 additions & 0 deletions
145
...dk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.aliyuncs.live.model.v20161101; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.live.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class AddLiveAIProduceRulesRequest extends RpcAcsRequest<AddLiveAIProduceRulesResponse> { | ||
|
||
|
||
private String description; | ||
|
||
private String subtitleName; | ||
|
||
private String app; | ||
|
||
private Long ownerId; | ||
|
||
private Boolean isLazy; | ||
|
||
private String liveTemplate; | ||
|
||
private String domain; | ||
|
||
private Boolean isOrigin; | ||
public AddLiveAIProduceRulesRequest() { | ||
super("live", "2016-11-01", "AddLiveAIProduceRules", "live"); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public String getDescription() { | ||
return this.description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
if(description != null){ | ||
putQueryParameter("Description", description); | ||
} | ||
} | ||
|
||
public String getSubtitleName() { | ||
return this.subtitleName; | ||
} | ||
|
||
public void setSubtitleName(String subtitleName) { | ||
this.subtitleName = subtitleName; | ||
if(subtitleName != null){ | ||
putQueryParameter("SubtitleName", subtitleName); | ||
} | ||
} | ||
|
||
public String getApp() { | ||
return this.app; | ||
} | ||
|
||
public void setApp(String app) { | ||
this.app = app; | ||
if(app != null){ | ||
putQueryParameter("App", app); | ||
} | ||
} | ||
|
||
public Long getOwnerId() { | ||
return this.ownerId; | ||
} | ||
|
||
public void setOwnerId(Long ownerId) { | ||
this.ownerId = ownerId; | ||
if(ownerId != null){ | ||
putQueryParameter("OwnerId", ownerId.toString()); | ||
} | ||
} | ||
|
||
public Boolean getIsLazy() { | ||
return this.isLazy; | ||
} | ||
|
||
public void setIsLazy(Boolean isLazy) { | ||
this.isLazy = isLazy; | ||
if(isLazy != null){ | ||
putQueryParameter("IsLazy", isLazy.toString()); | ||
} | ||
} | ||
|
||
public String getLiveTemplate() { | ||
return this.liveTemplate; | ||
} | ||
|
||
public void setLiveTemplate(String liveTemplate) { | ||
this.liveTemplate = liveTemplate; | ||
if(liveTemplate != null){ | ||
putQueryParameter("LiveTemplate", liveTemplate); | ||
} | ||
} | ||
|
||
public String getDomain() { | ||
return this.domain; | ||
} | ||
|
||
public void setDomain(String domain) { | ||
this.domain = domain; | ||
if(domain != null){ | ||
putQueryParameter("Domain", domain); | ||
} | ||
} | ||
|
||
public Boolean getIsOrigin() { | ||
return this.isOrigin; | ||
} | ||
|
||
public void setIsOrigin(Boolean isOrigin) { | ||
this.isOrigin = isOrigin; | ||
if(isOrigin != null){ | ||
putQueryParameter("IsOrigin", isOrigin.toString()); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<AddLiveAIProduceRulesResponse> getResponseClass() { | ||
return AddLiveAIProduceRulesResponse.class; | ||
} | ||
|
||
} |
51 changes: 51 additions & 0 deletions
51
...k-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.aliyuncs.live.model.v20161101; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.live.transform.v20161101.AddLiveAIProduceRulesResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class AddLiveAIProduceRulesResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private String rulesId; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public String getRulesId() { | ||
return this.rulesId; | ||
} | ||
|
||
public void setRulesId(String rulesId) { | ||
this.rulesId = rulesId; | ||
} | ||
|
||
@Override | ||
public AddLiveAIProduceRulesResponse getInstance(UnmarshallerContext context) { | ||
return AddLiveAIProduceRulesResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
} |
Oops, something went wrong.