index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RefreshFeatureTableResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import java.util.ArrayList; import java.util.List; import com.aliyuncs.airec.model.v20201126.RefreshFeatureTableResponse; import com.aliyuncs.airec.model.v20201126.RefreshFeatureTableResponse.Result; import com.aliyuncs.airec.model.v20201126.RefreshFeatureTableResponse.Result.Meta; import com.aliyuncs.airec.model.v20201126.RefreshFeatureTableResponse.Result.Meta.FeatureListItem; import com.aliyuncs.transform.UnmarshallerContext; public class RefreshFeatureTableResponseUnmarshaller { public static RefreshFeatureTableResponse unmarshall(RefreshFeatureTableResponse refreshFeatureTableResponse, UnmarshallerContext _ctx) { refreshFeatureTableResponse.setRequestId(_ctx.stringValue("RefreshFeatureTableResponse.requestId")); Result result = new Result(); result.setStatus(_ctx.stringValue("RefreshFeatureTableResponse.result.Status")); result.setFeatureTableId(_ctx.stringValue("RefreshFeatureTableResponse.result.FeatureTableId")); result.setType(_ctx.stringValue("RefreshFeatureTableResponse.result.Type")); result.setGmtCreate(_ctx.stringValue("RefreshFeatureTableResponse.result.GmtCreate")); result.setGmtModified(_ctx.stringValue("RefreshFeatureTableResponse.result.GmtModified")); Meta meta = new Meta(); meta.setDataSourceId(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.DataSourceId")); meta.setInternal(_ctx.booleanValue("RefreshFeatureTableResponse.result.Meta.Internal")); meta.setMetaType(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.MetaType")); meta.setSource(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.Source")); meta.setUpdateFrequency(_ctx.longValue("RefreshFeatureTableResponse.result.Meta.UpdateFrequency")); List<FeatureListItem> featureList = new ArrayList<FeatureListItem>(); for (int i = 0; i < _ctx.lengthValue("RefreshFeatureTableResponse.result.Meta.FeatureList.Length"); i++) { FeatureListItem featureListItem = new FeatureListItem(); featureListItem.setComment(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.FeatureList["+ i +"].Comment")); featureListItem.setFeatureName(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.FeatureList["+ i +"].FeatureName")); featureListItem.setFieldName(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.FeatureList["+ i +"].FieldName")); featureListItem.setStatus(_ctx.stringValue("RefreshFeatureTableResponse.result.Meta.FeatureList["+ i +"].Status")); featureList.add(featureListItem); } meta.setFeatureList(featureList); result.setMeta(meta); refreshFeatureTableResponse.setResult(result); return refreshFeatureTableResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RollbackRankingSystemResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.RollbackRankingSystemResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class RollbackRankingSystemResponseUnmarshaller { public static RollbackRankingSystemResponse unmarshall(RollbackRankingSystemResponse rollbackRankingSystemResponse, UnmarshallerContext _ctx) { rollbackRankingSystemResponse.setRequestId(_ctx.stringValue("RollbackRankingSystemResponse.requestId")); rollbackRankingSystemResponse.setResult(_ctx.mapValue("RollbackRankingSystemResponse.result")); return rollbackRankingSystemResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RunInstanceResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.RunInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RunInstanceResponseUnmarshaller { public static RunInstanceResponse unmarshall(RunInstanceResponse runInstanceResponse, UnmarshallerContext _ctx) { runInstanceResponse.setResult(_ctx.booleanValue("RunInstanceResponse.result")); runInstanceResponse.setCode(_ctx.stringValue("RunInstanceResponse.code")); runInstanceResponse.setRequestId(_ctx.stringValue("RunInstanceResponse.requestId")); runInstanceResponse.setMessage(_ctx.stringValue("RunInstanceResponse.message")); return runInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RunRankingModelTemplateResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.RunRankingModelTemplateResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class RunRankingModelTemplateResponseUnmarshaller { public static RunRankingModelTemplateResponse unmarshall(RunRankingModelTemplateResponse runRankingModelTemplateResponse, UnmarshallerContext _ctx) { runRankingModelTemplateResponse.setRequestId(_ctx.stringValue("RunRankingModelTemplateResponse.requestId")); runRankingModelTemplateResponse.setResult(_ctx.mapValue("RunRankingModelTemplateResponse.result")); return runRankingModelTemplateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RunSampleFormatConfigResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.RunSampleFormatConfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RunSampleFormatConfigResponseUnmarshaller { public static RunSampleFormatConfigResponse unmarshall(RunSampleFormatConfigResponse runSampleFormatConfigResponse, UnmarshallerContext _ctx) { runSampleFormatConfigResponse.setRequestId(_ctx.stringValue("RunSampleFormatConfigResponse.requestId")); runSampleFormatConfigResponse.setResult(_ctx.booleanValue("RunSampleFormatConfigResponse.result")); return runSampleFormatConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/StopDataSetResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.StopDataSetResponse; import com.aliyuncs.airec.model.v20201126.StopDataSetResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class StopDataSetResponseUnmarshaller { public static StopDataSetResponse unmarshall(StopDataSetResponse stopDataSetResponse, UnmarshallerContext _ctx) { stopDataSetResponse.setCode(_ctx.stringValue("StopDataSetResponse.code")); stopDataSetResponse.setRequestId(_ctx.stringValue("StopDataSetResponse.requestId")); stopDataSetResponse.setMessage(_ctx.stringValue("StopDataSetResponse.message")); Result result = new Result(); result.setVersionId(_ctx.stringValue("StopDataSetResponse.result.versionId")); result.setState(_ctx.stringValue("StopDataSetResponse.result.state")); result.setGmtModified(_ctx.longValue("StopDataSetResponse.result.gmtModified")); result.setGmtCreate(_ctx.longValue("StopDataSetResponse.result.gmtCreate")); result.setInstanceId(_ctx.stringValue("StopDataSetResponse.result.instanceId")); stopDataSetResponse.setResult(result); return stopDataSetResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/StopFlowControlTaskResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.StopFlowControlTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StopFlowControlTaskResponseUnmarshaller { public static StopFlowControlTaskResponse unmarshall(StopFlowControlTaskResponse stopFlowControlTaskResponse, UnmarshallerContext _ctx) { stopFlowControlTaskResponse.setRequestId(_ctx.stringValue("StopFlowControlTaskResponse.requestId")); stopFlowControlTaskResponse.setResult(_ctx.booleanValue("StopFlowControlTaskResponse.result")); return stopFlowControlTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/UnLockIndexVersionResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.UnLockIndexVersionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UnLockIndexVersionResponseUnmarshaller { public static UnLockIndexVersionResponse unmarshall(UnLockIndexVersionResponse unLockIndexVersionResponse, UnmarshallerContext _ctx) { unLockIndexVersionResponse.setResult(_ctx.booleanValue("UnLockIndexVersionResponse.result")); unLockIndexVersionResponse.setRequestId(_ctx.stringValue("UnLockIndexVersionResponse.requestId")); return unLockIndexVersionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/UpdateExperimentBasicInfoResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import java.util.ArrayList; import java.util.List; import com.aliyuncs.airec.model.v20201126.UpdateExperimentBasicInfoResponse; import com.aliyuncs.airec.model.v20201126.UpdateExperimentBasicInfoResponse.Result; import com.aliyuncs.airec.model.v20201126.UpdateExperimentBasicInfoResponse.Result.Algorithm; import com.aliyuncs.airec.model.v20201126.UpdateExperimentBasicInfoResponse.Result.Algorithm.ConfigItem; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateExperimentBasicInfoResponseUnmarshaller { public static UpdateExperimentBasicInfoResponse unmarshall(UpdateExperimentBasicInfoResponse updateExperimentBasicInfoResponse, UnmarshallerContext _ctx) { updateExperimentBasicInfoResponse.setRequestId(_ctx.stringValue("UpdateExperimentBasicInfoResponse.requestId")); Result result = new Result(); result.setBase(_ctx.booleanValue("UpdateExperimentBasicInfoResponse.result.base")); result.setOnlineTime(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.onlineTime")); result.setOfflineTime(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.offlineTime")); result.setDescription(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.description")); result.setStatus(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.status")); result.setName(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.name")); result.setExperimentId(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.experimentId")); List<String> buckets = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("UpdateExperimentBasicInfoResponse.result.buckets.Length"); i++) { buckets.add(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.buckets["+ i +"]")); } result.setBuckets(buckets); List<Algorithm> algorithms = new ArrayList<Algorithm>(); for (int i = 0; i < _ctx.lengthValue("UpdateExperimentBasicInfoResponse.result.algorithms.Length"); i++) { Algorithm algorithm = new Algorithm(); algorithm.setKey(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].key")); algorithm.setDefaultValue(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].defaultValue")); algorithm.setType(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].type")); algorithm.setExperimentValue(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].experimentValue")); algorithm.setHasConfig(_ctx.booleanValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].hasConfig")); algorithm.setCategory(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].category")); algorithm.setName(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].name")); List<ConfigItem> config = new ArrayList<ConfigItem>(); for (int j = 0; j < _ctx.lengthValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].config.Length"); j++) { ConfigItem configItem = new ConfigItem(); configItem.setKey(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].config["+ j +"].key")); configItem.setDefaultValue(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].config["+ j +"].defaultValue")); configItem.setExperimentValue(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].config["+ j +"].experimentValue")); configItem.setName(_ctx.stringValue("UpdateExperimentBasicInfoResponse.result.algorithms["+ i +"].config["+ j +"].name")); config.add(configItem); } algorithm.setConfig(config); algorithms.add(algorithm); } result.setAlgorithms(algorithms); updateExperimentBasicInfoResponse.setResult(result); return updateExperimentBasicInfoResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/UpdateExperimentConfigResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import java.util.ArrayList; import java.util.List; import com.aliyuncs.airec.model.v20201126.UpdateExperimentConfigResponse; import com.aliyuncs.airec.model.v20201126.UpdateExperimentConfigResponse.Result; import com.aliyuncs.airec.model.v20201126.UpdateExperimentConfigResponse.Result.Algorithm; import com.aliyuncs.airec.model.v20201126.UpdateExperimentConfigResponse.Result.Algorithm.ConfigItem; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateExperimentConfigResponseUnmarshaller { public static UpdateExperimentConfigResponse unmarshall(UpdateExperimentConfigResponse updateExperimentConfigResponse, UnmarshallerContext _ctx) { updateExperimentConfigResponse.setRequestId(_ctx.stringValue("UpdateExperimentConfigResponse.requestId")); Result result = new Result(); result.setBase(_ctx.booleanValue("UpdateExperimentConfigResponse.result.base")); result.setOnlineTime(_ctx.stringValue("UpdateExperimentConfigResponse.result.onlineTime")); result.setOfflineTime(_ctx.stringValue("UpdateExperimentConfigResponse.result.offlineTime")); result.setDescription(_ctx.stringValue("UpdateExperimentConfigResponse.result.description")); result.setStatus(_ctx.stringValue("UpdateExperimentConfigResponse.result.status")); result.setName(_ctx.stringValue("UpdateExperimentConfigResponse.result.name")); result.setExperimentId(_ctx.stringValue("UpdateExperimentConfigResponse.result.experimentId")); List<String> buckets = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("UpdateExperimentConfigResponse.result.buckets.Length"); i++) { buckets.add(_ctx.stringValue("UpdateExperimentConfigResponse.result.buckets["+ i +"]")); } result.setBuckets(buckets); List<Algorithm> algorithms = new ArrayList<Algorithm>(); for (int i = 0; i < _ctx.lengthValue("UpdateExperimentConfigResponse.result.algorithms.Length"); i++) { Algorithm algorithm = new Algorithm(); algorithm.setKey(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].key")); algorithm.setDefaultValue(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].defaultValue")); algorithm.setType(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].type")); algorithm.setExperimentValue(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].experimentValue")); algorithm.setHasConfig(_ctx.booleanValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].hasConfig")); algorithm.setCategory(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].category")); algorithm.setName(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].name")); List<ConfigItem> config = new ArrayList<ConfigItem>(); for (int j = 0; j < _ctx.lengthValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].config.Length"); j++) { ConfigItem configItem = new ConfigItem(); configItem.setKey(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].config["+ j +"].key")); configItem.setDefaultValue(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].config["+ j +"].defaultValue")); configItem.setExperimentValue(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].config["+ j +"].experimentValue")); configItem.setName(_ctx.stringValue("UpdateExperimentConfigResponse.result.algorithms["+ i +"].config["+ j +"].name")); config.add(configItem); } algorithm.setConfig(config); algorithms.add(algorithm); } result.setAlgorithms(algorithms); updateExperimentConfigResponse.setResult(result); return updateExperimentConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/UpdateExperimentStatusResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import java.util.ArrayList; import java.util.List; import com.aliyuncs.airec.model.v20201126.UpdateExperimentStatusResponse; import com.aliyuncs.airec.model.v20201126.UpdateExperimentStatusResponse.Result; import com.aliyuncs.airec.model.v20201126.UpdateExperimentStatusResponse.Result.Algorithm; import com.aliyuncs.airec.model.v20201126.UpdateExperimentStatusResponse.Result.Algorithm.ConfigItem; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateExperimentStatusResponseUnmarshaller { public static UpdateExperimentStatusResponse unmarshall(UpdateExperimentStatusResponse updateExperimentStatusResponse, UnmarshallerContext _ctx) { updateExperimentStatusResponse.setRequestId(_ctx.stringValue("UpdateExperimentStatusResponse.requestId")); Result result = new Result(); result.setBase(_ctx.booleanValue("UpdateExperimentStatusResponse.result.base")); result.setOnlineTime(_ctx.stringValue("UpdateExperimentStatusResponse.result.onlineTime")); result.setOfflineTime(_ctx.stringValue("UpdateExperimentStatusResponse.result.offlineTime")); result.setDescription(_ctx.stringValue("UpdateExperimentStatusResponse.result.description")); result.setStatus(_ctx.stringValue("UpdateExperimentStatusResponse.result.status")); result.setName(_ctx.stringValue("UpdateExperimentStatusResponse.result.name")); result.setExperimentId(_ctx.stringValue("UpdateExperimentStatusResponse.result.experimentId")); List<String> buckets = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("UpdateExperimentStatusResponse.result.buckets.Length"); i++) { buckets.add(_ctx.stringValue("UpdateExperimentStatusResponse.result.buckets["+ i +"]")); } result.setBuckets(buckets); List<Algorithm> algorithms = new ArrayList<Algorithm>(); for (int i = 0; i < _ctx.lengthValue("UpdateExperimentStatusResponse.result.algorithms.Length"); i++) { Algorithm algorithm = new Algorithm(); algorithm.setKey(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].key")); algorithm.setDefaultValue(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].defaultValue")); algorithm.setType(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].type")); algorithm.setExperimentValue(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].experimentValue")); algorithm.setHasConfig(_ctx.booleanValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].hasConfig")); algorithm.setCategory(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].category")); algorithm.setName(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].name")); List<ConfigItem> config = new ArrayList<ConfigItem>(); for (int j = 0; j < _ctx.lengthValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].config.Length"); j++) { ConfigItem configItem = new ConfigItem(); configItem.setKey(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].config["+ j +"].key")); configItem.setDefaultValue(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].config["+ j +"].defaultValue")); configItem.setExperimentValue(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].config["+ j +"].experimentValue")); configItem.setName(_ctx.stringValue("UpdateExperimentStatusResponse.result.algorithms["+ i +"].config["+ j +"].name")); config.add(configItem); } algorithm.setConfig(config); algorithms.add(algorithm); } result.setAlgorithms(algorithms); updateExperimentStatusResponse.setResult(result); return updateExperimentStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/UpgradeInstanceResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.UpgradeInstanceResponse; import com.aliyuncs.airec.model.v20201126.UpgradeInstanceResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradeInstanceResponseUnmarshaller { public static UpgradeInstanceResponse unmarshall(UpgradeInstanceResponse upgradeInstanceResponse, UnmarshallerContext _ctx) { upgradeInstanceResponse.setCode(_ctx.stringValue("UpgradeInstanceResponse.code")); upgradeInstanceResponse.setRequestId(_ctx.stringValue("UpgradeInstanceResponse.requestId")); upgradeInstanceResponse.setMessage(_ctx.stringValue("UpgradeInstanceResponse.message")); Result result = new Result(); result.setInstanceId(_ctx.stringValue("UpgradeInstanceResponse.result.instanceId")); upgradeInstanceResponse.setResult(result); return upgradeInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ValidateInstanceResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.ValidateInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ValidateInstanceResponseUnmarshaller { public static ValidateInstanceResponse unmarshall(ValidateInstanceResponse validateInstanceResponse, UnmarshallerContext _ctx) { validateInstanceResponse.setResult(_ctx.booleanValue("ValidateInstanceResponse.result")); validateInstanceResponse.setCode(_ctx.stringValue("ValidateInstanceResponse.code")); validateInstanceResponse.setRequestId(_ctx.stringValue("ValidateInstanceResponse.requestId")); validateInstanceResponse.setMessage(_ctx.stringValue("ValidateInstanceResponse.message")); return validateInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/VerifyRankingSystemResponseUnmarshaller.java
/* * 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.airec.transform.v20201126; import com.aliyuncs.airec.model.v20201126.VerifyRankingSystemResponse; import com.aliyuncs.transform.UnmarshallerContext; public class VerifyRankingSystemResponseUnmarshaller { public static VerifyRankingSystemResponse unmarshall(VerifyRankingSystemResponse verifyRankingSystemResponse, UnmarshallerContext _ctx) { verifyRankingSystemResponse.setRequestId(_ctx.stringValue("VerifyRankingSystemResponse.requestId")); verifyRankingSystemResponse.setResult(_ctx.stringValue("VerifyRankingSystemResponse.result")); return verifyRankingSystemResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/AccountFlowListRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class AccountFlowListRequest extends RoaAcsRequest<AccountFlowListResponse> { private String biz_language; private String biz_currency; private String biz_session_nick; private Integer day_num; private Long utc_begin_time; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; private Integer page_index; private Long biz_session_uid; private String xacsairticketlanguage; private Integer page_size; private String biz_app_key; public AccountFlowListRequest() { super("airticketOpen", "2023-01-17", "AccountFlowList"); setUriPattern("/airticket/v1/account/flow-list"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Integer getDay_num() { return this.day_num; } public void setDay_num(Integer day_num) { this.day_num = day_num; if(day_num != null){ putQueryParameter("day_num", day_num.toString()); } } public Long getUtc_begin_time() { return this.utc_begin_time; } public void setUtc_begin_time(Long utc_begin_time) { this.utc_begin_time = utc_begin_time; if(utc_begin_time != null){ putQueryParameter("utc_begin_time", utc_begin_time.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Integer getPage_index() { return this.page_index; } public void setPage_index(Integer page_index) { this.page_index = page_index; if(page_index != null){ putQueryParameter("page_index", page_index.toString()); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public Integer getPage_size() { return this.page_size; } public void setPage_size(Integer page_size) { this.page_size = page_size; if(page_size != null){ putQueryParameter("page_size", page_size.toString()); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<AccountFlowListResponse> getResponseClass() { return AccountFlowListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/AccountFlowListResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.AccountFlowListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AccountFlowListResponse extends AcsResponse { @Override public AccountFlowListResponse getInstance(UnmarshallerContext context) { return AccountFlowListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/AncillarySuggestRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class AncillarySuggestRequest extends RoaAcsRequest<AncillarySuggestResponse> { private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String solution_id; private String xacsairticketlanguage; private String biz_app_key; public AncillarySuggestRequest() { super("airticketOpen", "2023-01-17", "AncillarySuggest"); setUriPattern("/airticket/v1/ancillary/action-suggest"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getSolution_id() { return this.solution_id; } public void setSolution_id(String solution_id) { this.solution_id = solution_id; if(solution_id != null){ putBodyParameter("solution_id", solution_id); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<AncillarySuggestResponse> getResponseClass() { return AncillarySuggestResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/AncillarySuggestResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.AncillarySuggestResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AncillarySuggestResponse extends AcsResponse { @Override public AncillarySuggestResponse getInstance(UnmarshallerContext context) { return AncillarySuggestResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/BookRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class BookRequest extends RoaAcsRequest<BookResponse> { private String biz_language; private String biz_currency; private String biz_session_nick; private String solution_id; @SerializedName("passenger_ancillary_purchase_map_list") private List<Passenger_ancillary_purchase_map_list> passenger_ancillary_purchase_map_list; private String out_order_num; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; @SerializedName("contact") private Contact contact; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; @SerializedName("passenger_list") private List<Passenger_list> passenger_list; public BookRequest() { super("airticketOpen", "2023-01-17", "Book"); setUriPattern("/airticket/v1/trade/action-book"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getSolution_id() { return this.solution_id; } public void setSolution_id(String solution_id) { this.solution_id = solution_id; if(solution_id != null){ putBodyParameter("solution_id", solution_id); } } public List<Passenger_ancillary_purchase_map_list> getPassenger_ancillary_purchase_map_list() { return this.passenger_ancillary_purchase_map_list; } public void setPassenger_ancillary_purchase_map_list(List<Passenger_ancillary_purchase_map_list> passenger_ancillary_purchase_map_list) { this.passenger_ancillary_purchase_map_list = passenger_ancillary_purchase_map_list; if (passenger_ancillary_purchase_map_list != null) { putBodyParameter("passenger_ancillary_purchase_map_list" , new Gson().toJson(passenger_ancillary_purchase_map_list)); } } public String getOut_order_num() { return this.out_order_num; } public void setOut_order_num(String out_order_num) { this.out_order_num = out_order_num; if(out_order_num != null){ putBodyParameter("out_order_num", out_order_num); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Contact getContact() { return this.contact; } public void setContact(Contact contact) { this.contact = contact; if (contact != null) { putBodyParameter("contact" , new Gson().toJson(contact)); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } public List<Passenger_list> getPassenger_list() { return this.passenger_list; } public void setPassenger_list(List<Passenger_list> passenger_list) { this.passenger_list = passenger_list; if (passenger_list != null) { putBodyParameter("passenger_list" , new Gson().toJson(passenger_list)); } } public static class Passenger_ancillary_purchase_map_list { @SerializedName("passenger_list") private List<Passenger_listItem> passenger_list; @SerializedName("book_ancillary_req_item") private Book_ancillary_req_item book_ancillary_req_item; public List<Passenger_listItem> getPassenger_list() { return this.passenger_list; } public void setPassenger_list(List<Passenger_listItem> passenger_list) { this.passenger_list = passenger_list; } public Book_ancillary_req_item getBook_ancillary_req_item() { return this.book_ancillary_req_item; } public void setBook_ancillary_req_item(Book_ancillary_req_item book_ancillary_req_item) { this.book_ancillary_req_item = book_ancillary_req_item; } public static class Passenger_listItem { @SerializedName("birthday") private String birthday; @SerializedName("gender") private Integer gender; @SerializedName("nationality") private String nationality; @SerializedName("credential") private Credential credential; @SerializedName("last_name") private String last_name; @SerializedName("type") private Integer type; @SerializedName("mobile_country_code") private String mobile_country_code; @SerializedName("first_name") private String first_name; @SerializedName("mobile_phone_number") private String mobile_phone_number; public String getBirthday() { return this.birthday; } public void setBirthday(String birthday) { this.birthday = birthday; } public Integer getGender() { return this.gender; } public void setGender(Integer gender) { this.gender = gender; } public String getNationality() { return this.nationality; } public void setNationality(String nationality) { this.nationality = nationality; } public Credential getCredential() { return this.credential; } public void setCredential(Credential credential) { this.credential = credential; } public String getLast_name() { return this.last_name; } public void setLast_name(String last_name) { this.last_name = last_name; } public Integer getType() { return this.type; } public void setType(Integer type) { this.type = type; } public String getMobile_country_code() { return this.mobile_country_code; } public void setMobile_country_code(String mobile_country_code) { this.mobile_country_code = mobile_country_code; } public String getFirst_name() { return this.first_name; } public void setFirst_name(String first_name) { this.first_name = first_name; } public String getMobile_phone_number() { return this.mobile_phone_number; } public void setMobile_phone_number(String mobile_phone_number) { this.mobile_phone_number = mobile_phone_number; } public static class Credential { @SerializedName("credential_type") private Integer credential_type; @SerializedName("expire_date") private String expire_date; @SerializedName("credential_num") private String credential_num; @SerializedName("cert_issue_place") private String cert_issue_place; public Integer getCredential_type() { return this.credential_type; } public void setCredential_type(Integer credential_type) { this.credential_type = credential_type; } public String getExpire_date() { return this.expire_date; } public void setExpire_date(String expire_date) { this.expire_date = expire_date; } public String getCredential_num() { return this.credential_num; } public void setCredential_num(String credential_num) { this.credential_num = credential_num; } public String getCert_issue_place() { return this.cert_issue_place; } public void setCert_issue_place(String cert_issue_place) { this.cert_issue_place = cert_issue_place; } } } public static class Book_ancillary_req_item { @SerializedName("ancillary_type") private Integer ancillary_type; @SerializedName("ancillary_id") private String ancillary_id; public Integer getAncillary_type() { return this.ancillary_type; } public void setAncillary_type(Integer ancillary_type) { this.ancillary_type = ancillary_type; } public String getAncillary_id() { return this.ancillary_id; } public void setAncillary_id(String ancillary_id) { this.ancillary_id = ancillary_id; } } } public static class Contact { @SerializedName("mobile_phone_num") private String mobile_phone_num; @SerializedName("last_name") private String last_name; @SerializedName("mobile_country_code") private String mobile_country_code; @SerializedName("first_name") private String first_name; @SerializedName("email") private String email; public String getMobile_phone_num() { return this.mobile_phone_num; } public void setMobile_phone_num(String mobile_phone_num) { this.mobile_phone_num = mobile_phone_num; } public String getLast_name() { return this.last_name; } public void setLast_name(String last_name) { this.last_name = last_name; } public String getMobile_country_code() { return this.mobile_country_code; } public void setMobile_country_code(String mobile_country_code) { this.mobile_country_code = mobile_country_code; } public String getFirst_name() { return this.first_name; } public void setFirst_name(String first_name) { this.first_name = first_name; } public String getEmail() { return this.email; } public void setEmail(String email) { this.email = email; } } public static class Passenger_list { @SerializedName("birthday") private String birthday; @SerializedName("gender") private Integer gender; @SerializedName("nationality") private String nationality; @SerializedName("credential") private Credential credential; @SerializedName("last_name") private String last_name; @SerializedName("type") private Integer type; @SerializedName("mobile_country_code") private String mobile_country_code; @SerializedName("first_name") private String first_name; @SerializedName("mobile_phone_number") private String mobile_phone_number; public String getBirthday() { return this.birthday; } public void setBirthday(String birthday) { this.birthday = birthday; } public Integer getGender() { return this.gender; } public void setGender(Integer gender) { this.gender = gender; } public String getNationality() { return this.nationality; } public void setNationality(String nationality) { this.nationality = nationality; } public Credential getCredential() { return this.credential; } public void setCredential(Credential credential) { this.credential = credential; } public String getLast_name() { return this.last_name; } public void setLast_name(String last_name) { this.last_name = last_name; } public Integer getType() { return this.type; } public void setType(Integer type) { this.type = type; } public String getMobile_country_code() { return this.mobile_country_code; } public void setMobile_country_code(String mobile_country_code) { this.mobile_country_code = mobile_country_code; } public String getFirst_name() { return this.first_name; } public void setFirst_name(String first_name) { this.first_name = first_name; } public String getMobile_phone_number() { return this.mobile_phone_number; } public void setMobile_phone_number(String mobile_phone_number) { this.mobile_phone_number = mobile_phone_number; } public static class Credential { @SerializedName("credential_type") private Integer credential_type; @SerializedName("expire_date") private String expire_date; @SerializedName("credential_num") private String credential_num; @SerializedName("cert_issue_place") private String cert_issue_place; public Integer getCredential_type() { return this.credential_type; } public void setCredential_type(Integer credential_type) { this.credential_type = credential_type; } public String getExpire_date() { return this.expire_date; } public void setExpire_date(String expire_date) { this.expire_date = expire_date; } public String getCredential_num() { return this.credential_num; } public void setCredential_num(String credential_num) { this.credential_num = credential_num; } public String getCert_issue_place() { return this.cert_issue_place; } public void setCert_issue_place(String cert_issue_place) { this.cert_issue_place = cert_issue_place; } } } @Override public Class<BookResponse> getResponseClass() { return BookResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/BookResponse.java
/* * 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.airticketopen.model.v20230117; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.BookResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class BookResponse extends AcsResponse { private Integer status; private String error_code; private String error_msg; private Boolean success; private String requestId; private Data data; private Error_data error_data; public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; } public String getError_code() { return this.error_code; } public void setError_code(String error_code) { this.error_code = error_code; } public String getError_msg() { return this.error_msg; } public void setError_msg(String error_msg) { this.error_msg = error_msg; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public Error_data getError_data() { return this.error_data; } public void setError_data(Error_data error_data) { this.error_data = error_data; } public static class Data { private List<Order_listItem> order_list; public List<Order_listItem> getOrder_list() { return this.order_list; } public void setOrder_list(List<Order_listItem> order_list) { this.order_list = order_list; } public static class Order_listItem { private Long order_num; public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; } } } public static class Error_data { private List<Order_listItem2> order_list1; public List<Order_listItem2> getOrder_list1() { return this.order_list1; } public void setOrder_list1(List<Order_listItem2> order_list1) { this.order_list1 = order_list1; } public static class Order_listItem2 { private Long order_num; public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; } } } @Override public BookResponse getInstance(UnmarshallerContext context) { return BookResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/CancelRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CancelRequest extends RoaAcsRequest<CancelResponse> { private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public CancelRequest() { super("airticketOpen", "2023-01-17", "Cancel"); setUriPattern("/airticket/v1/trade/action-cancel"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putBodyParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<CancelResponse> getResponseClass() { return CancelResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/CancelResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.CancelResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CancelResponse extends AcsResponse { @Override public CancelResponse getInstance(UnmarshallerContext context) { return CancelResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeApplyRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ChangeApplyRequest extends RoaAcsRequest<ChangeApplyResponse> { @SerializedName("change_passenger_list") private List<Change_passenger_list> change_passenger_list; private String biz_language; private String biz_currency; @SerializedName("changed_journeys") private List<Changed_journeys> changed_journeys; private String biz_session_nick; private String remark; private Integer type; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; @SerializedName("contact") private Contact contact; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public ChangeApplyRequest() { super("airticketOpen", "2023-01-17", "ChangeApply"); setUriPattern("/airticket/v1/change/action-apply"); setMethod(MethodType.POST); } public List<Change_passenger_list> getChange_passenger_list() { return this.change_passenger_list; } public void setChange_passenger_list(List<Change_passenger_list> change_passenger_list) { this.change_passenger_list = change_passenger_list; if (change_passenger_list != null) { putBodyParameter("change_passenger_list" , new Gson().toJson(change_passenger_list)); } } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public List<Changed_journeys> getChanged_journeys() { return this.changed_journeys; } public void setChanged_journeys(List<Changed_journeys> changed_journeys) { this.changed_journeys = changed_journeys; if (changed_journeys != null) { putBodyParameter("changed_journeys" , new Gson().toJson(changed_journeys)); } } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putBodyParameter("remark", remark); } } public Integer getType() { return this.type; } public void setType(Integer type) { this.type = type; if(type != null){ putBodyParameter("type", type.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Contact getContact() { return this.contact; } public void setContact(Contact contact) { this.contact = contact; if (contact != null) { putBodyParameter("contact" , new Gson().toJson(contact)); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putBodyParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } public static class Change_passenger_list { @SerializedName("document") private String document; @SerializedName("last_name") private String last_name; @SerializedName("first_name") private String first_name; public String getDocument() { return this.document; } public void setDocument(String document) { this.document = document; } public String getLast_name() { return this.last_name; } public void setLast_name(String last_name) { this.last_name = last_name; } public String getFirst_name() { return this.first_name; } public void setFirst_name(String first_name) { this.first_name = first_name; } } public static class Changed_journeys { @SerializedName("segment_list") private List<Segment_listItem> segment_list; public List<Segment_listItem> getSegment_list() { return this.segment_list; } public void setSegment_list(List<Segment_listItem> segment_list) { this.segment_list = segment_list; } public static class Segment_listItem { @SerializedName("departure_terminal") private String departure_terminal; @SerializedName("code_share") private Boolean code_share; @SerializedName("departure_airport") private String departure_airport; @SerializedName("departure_date") private String departure_date; @SerializedName("arrival_airport") private String arrival_airport; @SerializedName("arrival_city") private String arrival_city; @SerializedName("arrive_terminal") private String arrive_terminal; @SerializedName("operating_flight_no") private String operating_flight_no; @SerializedName("departure_city") private String departure_city; @SerializedName("marketing_flight_no") private String marketing_flight_no; @SerializedName("departure_time") private Long departure_time; @SerializedName("arrive_time") private Long arrive_time; public String getDeparture_terminal() { return this.departure_terminal; } public void setDeparture_terminal(String departure_terminal) { this.departure_terminal = departure_terminal; } public Boolean getCode_share() { return this.code_share; } public void setCode_share(Boolean code_share) { this.code_share = code_share; } public String getDeparture_airport() { return this.departure_airport; } public void setDeparture_airport(String departure_airport) { this.departure_airport = departure_airport; } public String getDeparture_date() { return this.departure_date; } public void setDeparture_date(String departure_date) { this.departure_date = departure_date; } public String getArrival_airport() { return this.arrival_airport; } public void setArrival_airport(String arrival_airport) { this.arrival_airport = arrival_airport; } public String getArrival_city() { return this.arrival_city; } public void setArrival_city(String arrival_city) { this.arrival_city = arrival_city; } public String getArrive_terminal() { return this.arrive_terminal; } public void setArrive_terminal(String arrive_terminal) { this.arrive_terminal = arrive_terminal; } public String getOperating_flight_no() { return this.operating_flight_no; } public void setOperating_flight_no(String operating_flight_no) { this.operating_flight_no = operating_flight_no; } public String getDeparture_city() { return this.departure_city; } public void setDeparture_city(String departure_city) { this.departure_city = departure_city; } public String getMarketing_flight_no() { return this.marketing_flight_no; } public void setMarketing_flight_no(String marketing_flight_no) { this.marketing_flight_no = marketing_flight_no; } public Long getDeparture_time() { return this.departure_time; } public void setDeparture_time(Long departure_time) { this.departure_time = departure_time; } public Long getArrive_time() { return this.arrive_time; } public void setArrive_time(Long arrive_time) { this.arrive_time = arrive_time; } } } public static class Contact { @SerializedName("mobile_phone_num") private String mobile_phone_num; @SerializedName("mobile_country_code") private String mobile_country_code; @SerializedName("email") private String email; public String getMobile_phone_num() { return this.mobile_phone_num; } public void setMobile_phone_num(String mobile_phone_num) { this.mobile_phone_num = mobile_phone_num; } public String getMobile_country_code() { return this.mobile_country_code; } public void setMobile_country_code(String mobile_country_code) { this.mobile_country_code = mobile_country_code; } public String getEmail() { return this.email; } public void setEmail(String email) { this.email = email; } } @Override public Class<ChangeApplyResponse> getResponseClass() { return ChangeApplyResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeApplyResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.ChangeApplyResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChangeApplyResponse extends AcsResponse { @Override public ChangeApplyResponse getInstance(UnmarshallerContext context) { return ChangeApplyResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeCancelRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ChangeCancelRequest extends RoaAcsRequest<ChangeCancelResponse> { private String biz_language; private String biz_currency; private Long change_order_num; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; public ChangeCancelRequest() { super("airticketOpen", "2023-01-17", "ChangeCancel"); setUriPattern("/airticket/v1/change/action-cancel"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getChange_order_num() { return this.change_order_num; } public void setChange_order_num(Long change_order_num) { this.change_order_num = change_order_num; if(change_order_num != null){ putBodyParameter("change_order_num", change_order_num.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<ChangeCancelResponse> getResponseClass() { return ChangeCancelResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeCancelResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.ChangeCancelResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChangeCancelResponse extends AcsResponse { @Override public ChangeCancelResponse getInstance(UnmarshallerContext context) { return ChangeCancelResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeConfirmRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ChangeConfirmRequest extends RoaAcsRequest<ChangeConfirmResponse> { private String biz_language; private String biz_currency; private Long change_order_num; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; public ChangeConfirmRequest() { super("airticketOpen", "2023-01-17", "ChangeConfirm"); setUriPattern("/airticket/v1/change/action-confirm"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getChange_order_num() { return this.change_order_num; } public void setChange_order_num(Long change_order_num) { this.change_order_num = change_order_num; if(change_order_num != null){ putBodyParameter("change_order_num", change_order_num.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<ChangeConfirmResponse> getResponseClass() { return ChangeConfirmResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeConfirmResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.ChangeConfirmResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChangeConfirmResponse extends AcsResponse { @Override public ChangeConfirmResponse getInstance(UnmarshallerContext context) { return ChangeConfirmResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeDetailListOfBuyerRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ChangeDetailListOfBuyerRequest extends RoaAcsRequest<ChangeDetailListOfBuyerResponse> { private String biz_language; private String biz_currency; private String biz_session_nick; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; private Integer page_index; private Long biz_session_uid; private Long utc_create_begin; private Long utc_create_end; private String xacsairticketlanguage; private Integer page_size; private String biz_app_key; public ChangeDetailListOfBuyerRequest() { super("airticketOpen", "2023-01-17", "ChangeDetailListOfBuyer"); setUriPattern("/airticket/v1/change/buyer/detail-list"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Integer getPage_index() { return this.page_index; } public void setPage_index(Integer page_index) { this.page_index = page_index; if(page_index != null){ putQueryParameter("page_index", page_index.toString()); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getUtc_create_begin() { return this.utc_create_begin; } public void setUtc_create_begin(Long utc_create_begin) { this.utc_create_begin = utc_create_begin; if(utc_create_begin != null){ putQueryParameter("utc_create_begin", utc_create_begin.toString()); } } public Long getUtc_create_end() { return this.utc_create_end; } public void setUtc_create_end(Long utc_create_end) { this.utc_create_end = utc_create_end; if(utc_create_end != null){ putQueryParameter("utc_create_end", utc_create_end.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public Integer getPage_size() { return this.page_size; } public void setPage_size(Integer page_size) { this.page_size = page_size; if(page_size != null){ putQueryParameter("page_size", page_size.toString()); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<ChangeDetailListOfBuyerResponse> getResponseClass() { return ChangeDetailListOfBuyerResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeDetailListOfBuyerResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.ChangeDetailListOfBuyerResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChangeDetailListOfBuyerResponse extends AcsResponse { @Override public ChangeDetailListOfBuyerResponse getInstance(UnmarshallerContext context) { return ChangeDetailListOfBuyerResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeDetailListOfOrderNumRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ChangeDetailListOfOrderNumRequest extends RoaAcsRequest<ChangeDetailListOfOrderNumResponse> { private String biz_language; private String biz_currency; private String biz_session_nick; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; private Integer page_index; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private Integer page_size; private String biz_app_key; public ChangeDetailListOfOrderNumRequest() { super("airticketOpen", "2023-01-17", "ChangeDetailListOfOrderNum"); setUriPattern("/airticket/v1/change/order-num/detail-list"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Integer getPage_index() { return this.page_index; } public void setPage_index(Integer page_index) { this.page_index = page_index; if(page_index != null){ putQueryParameter("page_index", page_index.toString()); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putQueryParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public Integer getPage_size() { return this.page_size; } public void setPage_size(Integer page_size) { this.page_size = page_size; if(page_size != null){ putQueryParameter("page_size", page_size.toString()); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<ChangeDetailListOfOrderNumResponse> getResponseClass() { return ChangeDetailListOfOrderNumResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeDetailListOfOrderNumResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.ChangeDetailListOfOrderNumResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChangeDetailListOfOrderNumResponse extends AcsResponse { @Override public ChangeDetailListOfOrderNumResponse getInstance(UnmarshallerContext context) { return ChangeDetailListOfOrderNumResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeDetailRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ChangeDetailRequest extends RoaAcsRequest<ChangeDetailResponse> { private String biz_language; private String biz_currency; private Long change_order_num; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; public ChangeDetailRequest() { super("airticketOpen", "2023-01-17", "ChangeDetail"); setUriPattern("/airticket/v1/change/detail"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getChange_order_num() { return this.change_order_num; } public void setChange_order_num(Long change_order_num) { this.change_order_num = change_order_num; if(change_order_num != null){ putQueryParameter("change_order_num", change_order_num.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<ChangeDetailResponse> getResponseClass() { return ChangeDetailResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/ChangeDetailResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.ChangeDetailResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChangeDetailResponse extends AcsResponse { @Override public ChangeDetailResponse getInstance(UnmarshallerContext context) { return ChangeDetailResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/EnrichRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class EnrichRequest extends RoaAcsRequest<EnrichResponse> { private String cabin_class; private String biz_language; private String biz_currency; private Integer infants; private String biz_session_nick; private Integer adults; private String solution_id; @SerializedName("journey_param_list") private List<Journey_param_list> journey_param_list; private Long biz_havana_id; private Integer children; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; public EnrichRequest() { super("airticketOpen", "2023-01-17", "Enrich"); setUriPattern("/airticket/v1/trade/action-enrich"); setMethod(MethodType.POST); } public String getCabin_class() { return this.cabin_class; } public void setCabin_class(String cabin_class) { this.cabin_class = cabin_class; if(cabin_class != null){ putBodyParameter("cabin_class", cabin_class); } } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Integer getInfants() { return this.infants; } public void setInfants(Integer infants) { this.infants = infants; if(infants != null){ putBodyParameter("infants", infants.toString()); } } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Integer getAdults() { return this.adults; } public void setAdults(Integer adults) { this.adults = adults; if(adults != null){ putBodyParameter("adults", adults.toString()); } } public String getSolution_id() { return this.solution_id; } public void setSolution_id(String solution_id) { this.solution_id = solution_id; if(solution_id != null){ putBodyParameter("solution_id", solution_id); } } public List<Journey_param_list> getJourney_param_list() { return this.journey_param_list; } public void setJourney_param_list(List<Journey_param_list> journey_param_list) { this.journey_param_list = journey_param_list; if (journey_param_list != null) { putBodyParameter("journey_param_list" , new Gson().toJson(journey_param_list)); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public Integer getChildren() { return this.children; } public void setChildren(Integer children) { this.children = children; if(children != null){ putBodyParameter("children", children.toString()); } } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } public static class Journey_param_list { @SerializedName("departure_date") private String departure_date; @SerializedName("arrival_city") private String arrival_city; @SerializedName("departure_city") private String departure_city; @SerializedName("segment_param_list") private List<Segment_param_listItem> segment_param_list; public String getDeparture_date() { return this.departure_date; } public void setDeparture_date(String departure_date) { this.departure_date = departure_date; } public String getArrival_city() { return this.arrival_city; } public void setArrival_city(String arrival_city) { this.arrival_city = arrival_city; } public String getDeparture_city() { return this.departure_city; } public void setDeparture_city(String departure_city) { this.departure_city = departure_city; } public List<Segment_param_listItem> getSegment_param_list() { return this.segment_param_list; } public void setSegment_param_list(List<Segment_param_listItem> segment_param_list) { this.segment_param_list = segment_param_list; } public static class Segment_param_listItem { @SerializedName("departure_airport") private String departure_airport; @SerializedName("child_cabin") private String child_cabin; @SerializedName("arrival_city") private String arrival_city; @SerializedName("arrival_airport") private String arrival_airport; @SerializedName("cabin") private String cabin; @SerializedName("departure_city") private String departure_city; @SerializedName("marketing_flight_no") private String marketing_flight_no; @SerializedName("departure_time") private String departure_time; public String getDeparture_airport() { return this.departure_airport; } public void setDeparture_airport(String departure_airport) { this.departure_airport = departure_airport; } public String getChild_cabin() { return this.child_cabin; } public void setChild_cabin(String child_cabin) { this.child_cabin = child_cabin; } public String getArrival_city() { return this.arrival_city; } public void setArrival_city(String arrival_city) { this.arrival_city = arrival_city; } public String getArrival_airport() { return this.arrival_airport; } public void setArrival_airport(String arrival_airport) { this.arrival_airport = arrival_airport; } public String getCabin() { return this.cabin; } public void setCabin(String cabin) { this.cabin = cabin; } public String getDeparture_city() { return this.departure_city; } public void setDeparture_city(String departure_city) { this.departure_city = departure_city; } public String getMarketing_flight_no() { return this.marketing_flight_no; } public void setMarketing_flight_no(String marketing_flight_no) { this.marketing_flight_no = marketing_flight_no; } public String getDeparture_time() { return this.departure_time; } public void setDeparture_time(String departure_time) { this.departure_time = departure_time; } } } @Override public Class<EnrichResponse> getResponseClass() { return EnrichResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/EnrichResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.EnrichResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class EnrichResponse extends AcsResponse { @Override public EnrichResponse getInstance(UnmarshallerContext context) { return EnrichResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/FileUploadRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class FileUploadRequest extends RoaAcsRequest<FileUploadResponse> { private String file_content; private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public FileUploadRequest() { super("airticketOpen", "2023-01-17", "FileUpload"); setUriPattern("/airticket/v1/attachment/action-upload"); setMethod(MethodType.POST); } public String getFile_content() { return this.file_content; } public void setFile_content(String file_content) { this.file_content = file_content; if(file_content != null){ putBodyParameter("file_content", file_content); } } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putBodyParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<FileUploadResponse> getResponseClass() { return FileUploadResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/FileUploadResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.FileUploadResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class FileUploadResponse extends AcsResponse { @Override public FileUploadResponse getInstance(UnmarshallerContext context) { return FileUploadResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/FlightChangeOfOrderRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class FlightChangeOfOrderRequest extends RoaAcsRequest<FlightChangeOfOrderResponse> { private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public FlightChangeOfOrderRequest() { super("airticketOpen", "2023-01-17", "FlightChangeOfOrder"); setUriPattern("/airticket/v1/flightchange/of-order"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putQueryParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<FlightChangeOfOrderResponse> getResponseClass() { return FlightChangeOfOrderResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/FlightChangeOfOrderResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.FlightChangeOfOrderResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class FlightChangeOfOrderResponse extends AcsResponse { @Override public FlightChangeOfOrderResponse getInstance(UnmarshallerContext context) { return FlightChangeOfOrderResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/GetTokenRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetTokenRequest extends RoaAcsRequest<GetTokenResponse> { private String app_key; private String app_secret; public GetTokenRequest() { super("airticketOpen", "2023-01-17", "GetToken"); setUriPattern("/airticket/v1/token"); setMethod(MethodType.GET); } public String getApp_key() { return this.app_key; } public void setApp_key(String app_key) { this.app_key = app_key; if(app_key != null){ putQueryParameter("app_key", app_key); } } public String getApp_secret() { return this.app_secret; } public void setApp_secret(String app_secret) { this.app_secret = app_secret; if(app_secret != null){ putQueryParameter("app_secret", app_secret); } } @Override public Class<GetTokenResponse> getResponseClass() { return GetTokenResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/GetTokenResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.GetTokenResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetTokenResponse extends AcsResponse { @Override public GetTokenResponse getInstance(UnmarshallerContext context) { return GetTokenResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/OrderDetailRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class OrderDetailRequest extends RoaAcsRequest<OrderDetailResponse> { private String biz_language; private String biz_currency; private String out_order_num; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public OrderDetailRequest() { super("airticketOpen", "2023-01-17", "OrderDetail"); setUriPattern("/airticket/v1/trade/order-detail"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getOut_order_num() { return this.out_order_num; } public void setOut_order_num(String out_order_num) { this.out_order_num = out_order_num; if(out_order_num != null){ putQueryParameter("out_order_num", out_order_num); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putQueryParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<OrderDetailResponse> getResponseClass() { return OrderDetailResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/OrderDetailResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.OrderDetailResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OrderDetailResponse extends AcsResponse { @Override public OrderDetailResponse getInstance(UnmarshallerContext context) { return OrderDetailResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/OrderListRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class OrderListRequest extends RoaAcsRequest<OrderListResponse> { private String biz_language; private String biz_currency; private String biz_session_nick; private Long book_time_start; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; private Integer page_index; private Long biz_session_uid; private Long book_time_end; private String xacsairticketlanguage; private Integer status; private Integer page_size; private String biz_app_key; public OrderListRequest() { super("airticketOpen", "2023-01-17", "OrderList"); setUriPattern("/airticket/v1/trade/order-list"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Long getBook_time_start() { return this.book_time_start; } public void setBook_time_start(Long book_time_start) { this.book_time_start = book_time_start; if(book_time_start != null){ putQueryParameter("book_time_start", book_time_start.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Integer getPage_index() { return this.page_index; } public void setPage_index(Integer page_index) { this.page_index = page_index; if(page_index != null){ putQueryParameter("page_index", page_index.toString()); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getBook_time_end() { return this.book_time_end; } public void setBook_time_end(Long book_time_end) { this.book_time_end = book_time_end; if(book_time_end != null){ putQueryParameter("book_time_end", book_time_end.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; if(status != null){ putQueryParameter("status", status.toString()); } } public Integer getPage_size() { return this.page_size; } public void setPage_size(Integer page_size) { this.page_size = page_size; if(page_size != null){ putQueryParameter("page_size", page_size.toString()); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<OrderListResponse> getResponseClass() { return OrderListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/OrderListResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.OrderListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OrderListResponse extends AcsResponse { @Override public OrderListResponse getInstance(UnmarshallerContext context) { return OrderListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/PricingRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PricingRequest extends RoaAcsRequest<PricingResponse> { private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String solution_id; private String xacsairticketlanguage; private String biz_app_key; public PricingRequest() { super("airticketOpen", "2023-01-17", "Pricing"); setUriPattern("/airticket/v1/trade/action-pricing"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getSolution_id() { return this.solution_id; } public void setSolution_id(String solution_id) { this.solution_id = solution_id; if(solution_id != null){ putBodyParameter("solution_id", solution_id); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<PricingResponse> getResponseClass() { return PricingResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/PricingResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.PricingResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PricingResponse extends AcsResponse { @Override public PricingResponse getInstance(UnmarshallerContext context) { return PricingResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/RefundApplyRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class RefundApplyRequest extends RoaAcsRequest<RefundApplyResponse> { private String biz_language; private String biz_currency; @SerializedName("refund_type") private Refund_type refund_type; private String biz_session_nick; @SerializedName("refund_passenger_list") private List<Refund_passenger_list> refund_passenger_list; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; @SerializedName("refund_journeys") private List<Refund_journeys> refund_journeys; private String xacsairticketlanguage; private String biz_app_key; public RefundApplyRequest() { super("airticketOpen", "2023-01-17", "RefundApply"); setUriPattern("/airticket/v1/refund/action-apply"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Refund_type getRefund_type() { return this.refund_type; } public void setRefund_type(Refund_type refund_type) { this.refund_type = refund_type; if (refund_type != null) { putBodyParameter("refund_type" , new Gson().toJson(refund_type)); } } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public List<Refund_passenger_list> getRefund_passenger_list() { return this.refund_passenger_list; } public void setRefund_passenger_list(List<Refund_passenger_list> refund_passenger_list) { this.refund_passenger_list = refund_passenger_list; if (refund_passenger_list != null) { putBodyParameter("refund_passenger_list" , new Gson().toJson(refund_passenger_list)); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putBodyParameter("order_num", order_num.toString()); } } public List<Refund_journeys> getRefund_journeys() { return this.refund_journeys; } public void setRefund_journeys(List<Refund_journeys> refund_journeys) { this.refund_journeys = refund_journeys; if (refund_journeys != null) { putBodyParameter("refund_journeys" , new Gson().toJson(refund_journeys)); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } public static class Refund_type { @SerializedName("file") private List<String> file; @SerializedName("refund_type_id") private Integer refund_type_id; @SerializedName("remark") private String remark; public List<String> getFile() { return this.file; } public void setFile(List<String> file) { this.file = file; } public Integer getRefund_type_id() { return this.refund_type_id; } public void setRefund_type_id(Integer refund_type_id) { this.refund_type_id = refund_type_id; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; } } public static class Refund_passenger_list { @SerializedName("document") private String document; @SerializedName("last_name") private String last_name; @SerializedName("first_name") private String first_name; public String getDocument() { return this.document; } public void setDocument(String document) { this.document = document; } public String getLast_name() { return this.last_name; } public void setLast_name(String last_name) { this.last_name = last_name; } public String getFirst_name() { return this.first_name; } public void setFirst_name(String first_name) { this.first_name = first_name; } } public static class Refund_journeys { @SerializedName("segment_list") private List<Segment_listItem> segment_list; public List<Segment_listItem> getSegment_list() { return this.segment_list; } public void setSegment_list(List<Segment_listItem> segment_list) { this.segment_list = segment_list; } public static class Segment_listItem { @SerializedName("departure_airport") private String departure_airport; @SerializedName("arrival_airport") private String arrival_airport; @SerializedName("arrival_city") private String arrival_city; @SerializedName("departure_city") private String departure_city; public String getDeparture_airport() { return this.departure_airport; } public void setDeparture_airport(String departure_airport) { this.departure_airport = departure_airport; } public String getArrival_airport() { return this.arrival_airport; } public void setArrival_airport(String arrival_airport) { this.arrival_airport = arrival_airport; } public String getArrival_city() { return this.arrival_city; } public void setArrival_city(String arrival_city) { this.arrival_city = arrival_city; } public String getDeparture_city() { return this.departure_city; } public void setDeparture_city(String departure_city) { this.departure_city = departure_city; } } } @Override public Class<RefundApplyResponse> getResponseClass() { return RefundApplyResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/RefundApplyResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.RefundApplyResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RefundApplyResponse extends AcsResponse { @Override public RefundApplyResponse getInstance(UnmarshallerContext context) { return RefundApplyResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/RefundDetailListRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class RefundDetailListRequest extends RoaAcsRequest<RefundDetailListResponse> { private String biz_language; private String biz_currency; private String biz_session_nick; private Long refund_create_end_time; private Long refund_create_begin_time; private Long biz_havana_id; private String biz_zone_id; private String xacsairticketaccesstoken; private Integer page_index; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private Integer page_size; private String biz_app_key; public RefundDetailListRequest() { super("airticketOpen", "2023-01-17", "RefundDetailList"); setUriPattern("/airticket/v1/refund/detail-list"); setMethod(MethodType.GET); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Long getRefund_create_end_time() { return this.refund_create_end_time; } public void setRefund_create_end_time(Long refund_create_end_time) { this.refund_create_end_time = refund_create_end_time; if(refund_create_end_time != null){ putQueryParameter("refund_create_end_time", refund_create_end_time.toString()); } } public Long getRefund_create_begin_time() { return this.refund_create_begin_time; } public void setRefund_create_begin_time(Long refund_create_begin_time) { this.refund_create_begin_time = refund_create_begin_time; if(refund_create_begin_time != null){ putQueryParameter("refund_create_begin_time", refund_create_begin_time.toString()); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Integer getPage_index() { return this.page_index; } public void setPage_index(Integer page_index) { this.page_index = page_index; if(page_index != null){ putQueryParameter("page_index", page_index.toString()); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putQueryParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public Integer getPage_size() { return this.page_size; } public void setPage_size(Integer page_size) { this.page_size = page_size; if(page_size != null){ putQueryParameter("page_size", page_size.toString()); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<RefundDetailListResponse> getResponseClass() { return RefundDetailListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/RefundDetailListResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.RefundDetailListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RefundDetailListResponse extends AcsResponse { @Override public RefundDetailListResponse getInstance(UnmarshallerContext context) { return RefundDetailListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/RefundDetailRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class RefundDetailRequest extends RoaAcsRequest<RefundDetailResponse> { private Long refund_order_num; private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; public RefundDetailRequest() { super("airticketOpen", "2023-01-17", "RefundDetail"); setUriPattern("/airticket/v1/refund/detail"); setMethod(MethodType.GET); } public Long getRefund_order_num() { return this.refund_order_num; } public void setRefund_order_num(Long refund_order_num) { this.refund_order_num = refund_order_num; if(refund_order_num != null){ putQueryParameter("refund_order_num", refund_order_num.toString()); } } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<RefundDetailResponse> getResponseClass() { return RefundDetailResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/RefundDetailResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.RefundDetailResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RefundDetailResponse extends AcsResponse { @Override public RefundDetailResponse getInstance(UnmarshallerContext context) { return RefundDetailResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/SearchRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class SearchRequest extends RoaAcsRequest<SearchResponse> { private String cabin_class; private String biz_language; private String biz_currency; private Integer infants; private String biz_session_nick; private Integer adults; @SerializedName("air_legs") private List<Air_legs> air_legs; private Long biz_havana_id; private Integer children; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private String xacsairticketlanguage; private String biz_app_key; public SearchRequest() { super("airticketOpen", "2023-01-17", "Search"); setUriPattern("/airticket/v1/trade/action-search"); setMethod(MethodType.POST); } public String getCabin_class() { return this.cabin_class; } public void setCabin_class(String cabin_class) { this.cabin_class = cabin_class; if(cabin_class != null){ putBodyParameter("cabin_class", cabin_class); } } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Integer getInfants() { return this.infants; } public void setInfants(Integer infants) { this.infants = infants; if(infants != null){ putBodyParameter("infants", infants.toString()); } } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public Integer getAdults() { return this.adults; } public void setAdults(Integer adults) { this.adults = adults; if(adults != null){ putBodyParameter("adults", adults.toString()); } } public List<Air_legs> getAir_legs() { return this.air_legs; } public void setAir_legs(List<Air_legs> air_legs) { this.air_legs = air_legs; if (air_legs != null) { putBodyParameter("air_legs" , new Gson().toJson(air_legs)); } } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public Integer getChildren() { return this.children; } public void setChildren(Integer children) { this.children = children; if(children != null){ putBodyParameter("children", children.toString()); } } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } public static class Air_legs { @SerializedName("departure_airport_list") private List<String> departure_airport_list; @SerializedName("arrival_airport_list") private List<String> arrival_airport_list; @SerializedName("departure_date") private String departure_date; @SerializedName("arrival_city") private String arrival_city; @SerializedName("departure_city") private String departure_city; public List<String> getDeparture_airport_list() { return this.departure_airport_list; } public void setDeparture_airport_list(List<String> departure_airport_list) { this.departure_airport_list = departure_airport_list; } public List<String> getArrival_airport_list() { return this.arrival_airport_list; } public void setArrival_airport_list(List<String> arrival_airport_list) { this.arrival_airport_list = arrival_airport_list; } public String getDeparture_date() { return this.departure_date; } public void setDeparture_date(String departure_date) { this.departure_date = departure_date; } public String getArrival_city() { return this.arrival_city; } public void setArrival_city(String arrival_city) { this.arrival_city = arrival_city; } public String getDeparture_city() { return this.departure_city; } public void setDeparture_city(String departure_city) { this.departure_city = departure_city; } } @Override public Class<SearchResponse> getResponseClass() { return SearchResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/SearchResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.SearchResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SearchResponse extends AcsResponse { @Override public SearchResponse getInstance(UnmarshallerContext context) { return SearchResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/TicketingCheckRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class TicketingCheckRequest extends RoaAcsRequest<TicketingCheckResponse> { private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public TicketingCheckRequest() { super("airticketOpen", "2023-01-17", "TicketingCheck"); setUriPattern("/airticket/v1/trade/action-ticketing-check"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putBodyParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<TicketingCheckResponse> getResponseClass() { return TicketingCheckResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/TicketingCheckResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.TicketingCheckResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TicketingCheckResponse extends AcsResponse { @Override public TicketingCheckResponse getInstance(UnmarshallerContext context) { return TicketingCheckResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/TicketingRequest.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class TicketingRequest extends RoaAcsRequest<TicketingResponse> { private String biz_language; private String biz_currency; private Long biz_havana_id; private String biz_session_nick; private String biz_zone_id; private String xacsairticketaccesstoken; private Long biz_session_uid; private Long order_num; private String xacsairticketlanguage; private String biz_app_key; public TicketingRequest() { super("airticketOpen", "2023-01-17", "Ticketing"); setUriPattern("/airticket/v1/trade/action-ticketing"); setMethod(MethodType.POST); } public String getBiz_language() { return this.biz_language; } public void setBiz_language(String biz_language) { this.biz_language = biz_language; } public String getBiz_currency() { return this.biz_currency; } public void setBiz_currency(String biz_currency) { this.biz_currency = biz_currency; } public Long getBiz_havana_id() { return this.biz_havana_id; } public void setBiz_havana_id(Long biz_havana_id) { this.biz_havana_id = biz_havana_id; } public String getBiz_session_nick() { return this.biz_session_nick; } public void setBiz_session_nick(String biz_session_nick) { this.biz_session_nick = biz_session_nick; } public String getBiz_zone_id() { return this.biz_zone_id; } public void setBiz_zone_id(String biz_zone_id) { this.biz_zone_id = biz_zone_id; } public String getXacsairticketaccesstoken() { return this.xacsairticketaccesstoken; } public void setXacsairticketaccesstoken(String xacsairticketaccesstoken) { this.xacsairticketaccesstoken = xacsairticketaccesstoken; if(xacsairticketaccesstoken != null){ putHeaderParameter("x-acs-airticket-access-token", xacsairticketaccesstoken); } } public Long getBiz_session_uid() { return this.biz_session_uid; } public void setBiz_session_uid(Long biz_session_uid) { this.biz_session_uid = biz_session_uid; } public Long getOrder_num() { return this.order_num; } public void setOrder_num(Long order_num) { this.order_num = order_num; if(order_num != null){ putBodyParameter("order_num", order_num.toString()); } } public String getXacsairticketlanguage() { return this.xacsairticketlanguage; } public void setXacsairticketlanguage(String xacsairticketlanguage) { this.xacsairticketlanguage = xacsairticketlanguage; if(xacsairticketlanguage != null){ putHeaderParameter("x-acs-airticket-language", xacsairticketlanguage); } } public String getBiz_app_key() { return this.biz_app_key; } public void setBiz_app_key(String biz_app_key) { this.biz_app_key = biz_app_key; } @Override public Class<TicketingResponse> getResponseClass() { return TicketingResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/model/v20230117/TicketingResponse.java
/* * 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.airticketopen.model.v20230117; import com.aliyuncs.AcsResponse; import com.aliyuncs.airticketopen.transform.v20230117.TicketingResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TicketingResponse extends AcsResponse { @Override public TicketingResponse getInstance(UnmarshallerContext context) { return TicketingResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/AccountFlowListResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.AccountFlowListResponse; import com.aliyuncs.transform.UnmarshallerContext; public class AccountFlowListResponseUnmarshaller { public static AccountFlowListResponse unmarshall(AccountFlowListResponse accountFlowListResponse, UnmarshallerContext _ctx) { return accountFlowListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/AncillarySuggestResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.AncillarySuggestResponse; import com.aliyuncs.transform.UnmarshallerContext; public class AncillarySuggestResponseUnmarshaller { public static AncillarySuggestResponse unmarshall(AncillarySuggestResponse ancillarySuggestResponse, UnmarshallerContext _ctx) { return ancillarySuggestResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/BookResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import java.util.ArrayList; import java.util.List; import com.aliyuncs.airticketopen.model.v20230117.BookResponse; import com.aliyuncs.airticketopen.model.v20230117.BookResponse.Data; import com.aliyuncs.airticketopen.model.v20230117.BookResponse.Data.Order_listItem; import com.aliyuncs.airticketopen.model.v20230117.BookResponse.Error_data; import com.aliyuncs.airticketopen.model.v20230117.BookResponse.Error_data.Order_listItem2; import com.aliyuncs.transform.UnmarshallerContext; public class BookResponseUnmarshaller { public static BookResponse unmarshall(BookResponse bookResponse, UnmarshallerContext _ctx) { bookResponse.setRequestId(_ctx.stringValue("BookResponse.RequestId")); bookResponse.setStatus(_ctx.integerValue("BookResponse.status")); bookResponse.setError_code(_ctx.stringValue("BookResponse.error_code")); bookResponse.setError_msg(_ctx.stringValue("BookResponse.error_msg")); bookResponse.setSuccess(_ctx.booleanValue("BookResponse.success")); Data data = new Data(); List<Order_listItem> order_list = new ArrayList<Order_listItem>(); for (int i = 0; i < _ctx.lengthValue("BookResponse.data.order_list.Length"); i++) { Order_listItem order_listItem = new Order_listItem(); order_listItem.setOrder_num(_ctx.longValue("BookResponse.data.order_list["+ i +"].order_num")); order_list.add(order_listItem); } data.setOrder_list(order_list); bookResponse.setData(data); Error_data error_data = new Error_data(); List<Order_listItem2> order_list1 = new ArrayList<Order_listItem2>(); for (int i = 0; i < _ctx.lengthValue("BookResponse.error_data.order_list.Length"); i++) { Order_listItem2 order_listItem2 = new Order_listItem2(); order_listItem2.setOrder_num(_ctx.longValue("BookResponse.error_data.order_list["+ i +"].order_num")); order_list1.add(order_listItem2); } error_data.setOrder_list1(order_list1); bookResponse.setError_data(error_data); return bookResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/CancelResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.CancelResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CancelResponseUnmarshaller { public static CancelResponse unmarshall(CancelResponse cancelResponse, UnmarshallerContext _ctx) { return cancelResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/ChangeApplyResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.ChangeApplyResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeApplyResponseUnmarshaller { public static ChangeApplyResponse unmarshall(ChangeApplyResponse changeApplyResponse, UnmarshallerContext _ctx) { return changeApplyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/ChangeCancelResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.ChangeCancelResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeCancelResponseUnmarshaller { public static ChangeCancelResponse unmarshall(ChangeCancelResponse changeCancelResponse, UnmarshallerContext _ctx) { return changeCancelResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/ChangeConfirmResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.ChangeConfirmResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeConfirmResponseUnmarshaller { public static ChangeConfirmResponse unmarshall(ChangeConfirmResponse changeConfirmResponse, UnmarshallerContext _ctx) { return changeConfirmResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/ChangeDetailListOfBuyerResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.ChangeDetailListOfBuyerResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeDetailListOfBuyerResponseUnmarshaller { public static ChangeDetailListOfBuyerResponse unmarshall(ChangeDetailListOfBuyerResponse changeDetailListOfBuyerResponse, UnmarshallerContext _ctx) { return changeDetailListOfBuyerResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/ChangeDetailListOfOrderNumResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.ChangeDetailListOfOrderNumResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeDetailListOfOrderNumResponseUnmarshaller { public static ChangeDetailListOfOrderNumResponse unmarshall(ChangeDetailListOfOrderNumResponse changeDetailListOfOrderNumResponse, UnmarshallerContext _ctx) { return changeDetailListOfOrderNumResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/ChangeDetailResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.ChangeDetailResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeDetailResponseUnmarshaller { public static ChangeDetailResponse unmarshall(ChangeDetailResponse changeDetailResponse, UnmarshallerContext _ctx) { return changeDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/EnrichResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.EnrichResponse; import com.aliyuncs.transform.UnmarshallerContext; public class EnrichResponseUnmarshaller { public static EnrichResponse unmarshall(EnrichResponse enrichResponse, UnmarshallerContext _ctx) { return enrichResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/FileUploadResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.FileUploadResponse; import com.aliyuncs.transform.UnmarshallerContext; public class FileUploadResponseUnmarshaller { public static FileUploadResponse unmarshall(FileUploadResponse fileUploadResponse, UnmarshallerContext _ctx) { return fileUploadResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/FlightChangeOfOrderResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.FlightChangeOfOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class FlightChangeOfOrderResponseUnmarshaller { public static FlightChangeOfOrderResponse unmarshall(FlightChangeOfOrderResponse flightChangeOfOrderResponse, UnmarshallerContext _ctx) { return flightChangeOfOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/GetTokenResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.GetTokenResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetTokenResponseUnmarshaller { public static GetTokenResponse unmarshall(GetTokenResponse getTokenResponse, UnmarshallerContext _ctx) { return getTokenResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/OrderDetailResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.OrderDetailResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OrderDetailResponseUnmarshaller { public static OrderDetailResponse unmarshall(OrderDetailResponse orderDetailResponse, UnmarshallerContext _ctx) { return orderDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/OrderListResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.OrderListResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OrderListResponseUnmarshaller { public static OrderListResponse unmarshall(OrderListResponse orderListResponse, UnmarshallerContext _ctx) { return orderListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/PricingResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.PricingResponse; import com.aliyuncs.transform.UnmarshallerContext; public class PricingResponseUnmarshaller { public static PricingResponse unmarshall(PricingResponse pricingResponse, UnmarshallerContext _ctx) { return pricingResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/RefundApplyResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.RefundApplyResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RefundApplyResponseUnmarshaller { public static RefundApplyResponse unmarshall(RefundApplyResponse refundApplyResponse, UnmarshallerContext _ctx) { return refundApplyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/RefundDetailListResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.RefundDetailListResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RefundDetailListResponseUnmarshaller { public static RefundDetailListResponse unmarshall(RefundDetailListResponse refundDetailListResponse, UnmarshallerContext _ctx) { return refundDetailListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/RefundDetailResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.RefundDetailResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RefundDetailResponseUnmarshaller { public static RefundDetailResponse unmarshall(RefundDetailResponse refundDetailResponse, UnmarshallerContext _ctx) { return refundDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/SearchResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.SearchResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SearchResponseUnmarshaller { public static SearchResponse unmarshall(SearchResponse searchResponse, UnmarshallerContext _ctx) { return searchResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/TicketingCheckResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.TicketingCheckResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TicketingCheckResponseUnmarshaller { public static TicketingCheckResponse unmarshall(TicketingCheckResponse ticketingCheckResponse, UnmarshallerContext _ctx) { return ticketingCheckResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform
java-sources/com/aliyun/aliyun-java-sdk-airticketopen/3.0.3/com/aliyuncs/airticketopen/transform/v20230117/TicketingResponseUnmarshaller.java
/* * 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.airticketopen.transform.v20230117; import com.aliyuncs.airticketopen.model.v20230117.TicketingResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TicketingResponseUnmarshaller { public static TicketingResponse unmarshall(TicketingResponse ticketingResponse, UnmarshallerContext _ctx) { return ticketingResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model/v20200814/GetAdminPermissionRequest.java
/* * 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.aiworkspace.model.v20200814; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetAdminPermissionRequest extends RoaAcsRequest<GetAdminPermissionResponse> { private String permissionCode; private String userId; private String workspaceId; public GetAdminPermissionRequest() { super("AIWorkSpace", "2020-08-14", "GetAdminPermission"); setUriPattern("/api/admin/v1.0/permissions/[PermissionCode]"); setMethod(MethodType.GET); } public String getPermissionCode() { return this.permissionCode; } public void setPermissionCode(String permissionCode) { this.permissionCode = permissionCode; if(permissionCode != null){ putPathParameter("PermissionCode", permissionCode); } } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } public String getWorkspaceId() { return this.workspaceId; } public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; if(workspaceId != null){ putQueryParameter("WorkspaceId", workspaceId); } } @Override public Class<GetAdminPermissionResponse> getResponseClass() { return GetAdminPermissionResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model/v20200814/GetAdminPermissionResponse.java
/* * 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.aiworkspace.model.v20200814; import com.aliyuncs.AcsResponse; import com.aliyuncs.aiworkspace.transform.v20200814.GetAdminPermissionResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetAdminPermissionResponse extends AcsResponse { private String code; private String message; private String requestId; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String permissionCode; private String permissionDescription; public String getPermissionCode() { return this.permissionCode; } public void setPermissionCode(String permissionCode) { this.permissionCode = permissionCode; } public String getPermissionDescription() { return this.permissionDescription; } public void setPermissionDescription(String permissionDescription) { this.permissionDescription = permissionDescription; } } @Override public GetAdminPermissionResponse getInstance(UnmarshallerContext context) { return GetAdminPermissionResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model/v20200814/ListAdminWorkspacesRequest.java
/* * 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.aiworkspace.model.v20200814; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListAdminWorkspacesRequest extends RoaAcsRequest<ListAdminWorkspacesResponse> { private Integer pageSize; private String workspaceName; private String orderSequence; private String userId; private Integer pageNumber; private String orderField; private String workspaceId; public ListAdminWorkspacesRequest() { super("AIWorkSpace", "2020-08-14", "ListAdminWorkspaces"); setUriPattern("/api/admin/v1.0/workspaces"); setMethod(MethodType.GET); } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getWorkspaceName() { return this.workspaceName; } public void setWorkspaceName(String workspaceName) { this.workspaceName = workspaceName; if(workspaceName != null){ putQueryParameter("WorkspaceName", workspaceName); } } public String getOrderSequence() { return this.orderSequence; } public void setOrderSequence(String orderSequence) { this.orderSequence = orderSequence; if(orderSequence != null){ putQueryParameter("OrderSequence", orderSequence); } } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putQueryParameter("UserId", userId); } } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putQueryParameter("PageNumber", pageNumber.toString()); } } public String getOrderField() { return this.orderField; } public void setOrderField(String orderField) { this.orderField = orderField; if(orderField != null){ putQueryParameter("OrderField", orderField); } } public String getWorkspaceId() { return this.workspaceId; } public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; if(workspaceId != null){ putQueryParameter("WorkspaceId", workspaceId); } } @Override public Class<ListAdminWorkspacesResponse> getResponseClass() { return ListAdminWorkspacesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/model/v20200814/ListAdminWorkspacesResponse.java
/* * 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.aiworkspace.model.v20200814; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.aiworkspace.transform.v20200814.ListAdminWorkspacesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListAdminWorkspacesResponse extends AcsResponse { private String code; private String message; private String requestId; private List<DataItem> data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<DataItem> getData() { return this.data; } public void setData(List<DataItem> data) { this.data = data; } public static class DataItem { private Long createTime; private String creator; private String description; private String workspaceId; private String workspaceName; public Long getCreateTime() { return this.createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getWorkspaceId() { return this.workspaceId; } public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } public String getWorkspaceName() { return this.workspaceName; } public void setWorkspaceName(String workspaceName) { this.workspaceName = workspaceName; } } @Override public ListAdminWorkspacesResponse getInstance(UnmarshallerContext context) { return ListAdminWorkspacesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/transform
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/transform/v20200814/GetAdminPermissionResponseUnmarshaller.java
/* * 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.aiworkspace.transform.v20200814; import com.aliyuncs.aiworkspace.model.v20200814.GetAdminPermissionResponse; import com.aliyuncs.aiworkspace.model.v20200814.GetAdminPermissionResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetAdminPermissionResponseUnmarshaller { public static GetAdminPermissionResponse unmarshall(GetAdminPermissionResponse getAdminPermissionResponse, UnmarshallerContext _ctx) { getAdminPermissionResponse.setRequestId(_ctx.stringValue("GetAdminPermissionResponse.RequestId")); getAdminPermissionResponse.setCode(_ctx.stringValue("GetAdminPermissionResponse.Code")); getAdminPermissionResponse.setMessage(_ctx.stringValue("GetAdminPermissionResponse.Message")); Data data = new Data(); data.setPermissionCode(_ctx.stringValue("GetAdminPermissionResponse.Data.PermissionCode")); data.setPermissionDescription(_ctx.stringValue("GetAdminPermissionResponse.Data.PermissionDescription")); getAdminPermissionResponse.setData(data); return getAdminPermissionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/transform
java-sources/com/aliyun/aliyun-java-sdk-aiworkspace/2020-08-14/com/aliyuncs/aiworkspace/transform/v20200814/ListAdminWorkspacesResponseUnmarshaller.java
/* * 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.aiworkspace.transform.v20200814; import java.util.ArrayList; import java.util.List; import com.aliyuncs.aiworkspace.model.v20200814.ListAdminWorkspacesResponse; import com.aliyuncs.aiworkspace.model.v20200814.ListAdminWorkspacesResponse.DataItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListAdminWorkspacesResponseUnmarshaller { public static ListAdminWorkspacesResponse unmarshall(ListAdminWorkspacesResponse listAdminWorkspacesResponse, UnmarshallerContext _ctx) { listAdminWorkspacesResponse.setRequestId(_ctx.stringValue("ListAdminWorkspacesResponse.RequestId")); listAdminWorkspacesResponse.setCode(_ctx.stringValue("ListAdminWorkspacesResponse.Code")); listAdminWorkspacesResponse.setMessage(_ctx.stringValue("ListAdminWorkspacesResponse.Message")); List<DataItem> data = new ArrayList<DataItem>(); for (int i = 0; i < _ctx.lengthValue("ListAdminWorkspacesResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); dataItem.setCreateTime(_ctx.longValue("ListAdminWorkspacesResponse.Data["+ i +"].CreateTime")); dataItem.setCreator(_ctx.stringValue("ListAdminWorkspacesResponse.Data["+ i +"].Creator")); dataItem.setDescription(_ctx.stringValue("ListAdminWorkspacesResponse.Data["+ i +"].Description")); dataItem.setWorkspaceId(_ctx.stringValue("ListAdminWorkspacesResponse.Data["+ i +"].WorkspaceId")); dataItem.setWorkspaceName(_ctx.stringValue("ListAdminWorkspacesResponse.Data["+ i +"].WorkspaceName")); data.add(dataItem); } listAdminWorkspacesResponse.setData(data); return listAdminWorkspacesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/Endpoint.java
/* * 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.alb; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() {}; public static String endpointRegionalType = "regional"; }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AddEntriesToAclRequest.java
/* * 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.alb.model.v20200616; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.alb.Endpoint; /** * @author auto create * @version */ public class AddEntriesToAclRequest extends RpcAcsRequest<AddEntriesToAclResponse> { private String clientToken; private String aclId; private Boolean dryRun; private List<AclEntries> aclEntries; public AddEntriesToAclRequest() { super("Alb", "2020-06-16", "AddEntriesToAcl", "alb"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public String getAclId() { return this.aclId; } public void setAclId(String aclId) { this.aclId = aclId; if(aclId != null){ putQueryParameter("AclId", aclId); } } public Boolean getDryRun() { return this.dryRun; } public void setDryRun(Boolean dryRun) { this.dryRun = dryRun; if(dryRun != null){ putQueryParameter("DryRun", dryRun.toString()); } } public List<AclEntries> getAclEntries() { return this.aclEntries; } public void setAclEntries(List<AclEntries> aclEntries) { this.aclEntries = aclEntries; if (aclEntries != null) { for (int depth1 = 0; depth1 < aclEntries.size(); depth1++) { if (aclEntries.get(depth1) != null) { putQueryParameter("AclEntries." + (depth1 + 1) + ".Entry" , aclEntries.get(depth1).getEntry()); putQueryParameter("AclEntries." + (depth1 + 1) + ".Description" , aclEntries.get(depth1).getDescription()); } } } } public static class AclEntries { private String entry; private String description; public String getEntry() { return this.entry; } public void setEntry(String entry) { this.entry = entry; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } } @Override public Class<AddEntriesToAclResponse> getResponseClass() { return AddEntriesToAclResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AddEntriesToAclResponse.java
/* * 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.alb.model.v20200616; import com.aliyuncs.AcsResponse; import com.aliyuncs.alb.transform.v20200616.AddEntriesToAclResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddEntriesToAclResponse extends AcsResponse { private String jobId; private String requestId; public String getJobId() { return this.jobId; } public void setJobId(String jobId) { this.jobId = jobId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public AddEntriesToAclResponse getInstance(UnmarshallerContext context) { return AddEntriesToAclResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AddServersToServerGroupRequest.java
/* * 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.alb.model.v20200616; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.alb.Endpoint; /** * @author auto create * @version */ public class AddServersToServerGroupRequest extends RpcAcsRequest<AddServersToServerGroupResponse> { private String clientToken; private String serverGroupId; private List<Servers> servers; private Boolean dryRun; public AddServersToServerGroupRequest() { super("Alb", "2020-06-16", "AddServersToServerGroup", "alb"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public String getServerGroupId() { return this.serverGroupId; } public void setServerGroupId(String serverGroupId) { this.serverGroupId = serverGroupId; if(serverGroupId != null){ putQueryParameter("ServerGroupId", serverGroupId); } } public List<Servers> getServers() { return this.servers; } public void setServers(List<Servers> servers) { this.servers = servers; if (servers != null) { for (int depth1 = 0; depth1 < servers.size(); depth1++) { if (servers.get(depth1) != null) { putQueryParameter("Servers." + (depth1 + 1) + ".RemoteIpEnabled" , servers.get(depth1).getRemoteIpEnabled()); putQueryParameter("Servers." + (depth1 + 1) + ".ServerType" , servers.get(depth1).getServerType()); putQueryParameter("Servers." + (depth1 + 1) + ".Port" , servers.get(depth1).getPort()); putQueryParameter("Servers." + (depth1 + 1) + ".Description" , servers.get(depth1).getDescription()); putQueryParameter("Servers." + (depth1 + 1) + ".ServerIp" , servers.get(depth1).getServerIp()); putQueryParameter("Servers." + (depth1 + 1) + ".Weight" , servers.get(depth1).getWeight()); putQueryParameter("Servers." + (depth1 + 1) + ".ServerId" , servers.get(depth1).getServerId()); } } } } public Boolean getDryRun() { return this.dryRun; } public void setDryRun(Boolean dryRun) { this.dryRun = dryRun; if(dryRun != null){ putQueryParameter("DryRun", dryRun.toString()); } } public static class Servers { private Boolean remoteIpEnabled; private String serverType; private Integer port; private String description; private String serverIp; private Integer weight; private String serverId; public Boolean getRemoteIpEnabled() { return this.remoteIpEnabled; } public void setRemoteIpEnabled(Boolean remoteIpEnabled) { this.remoteIpEnabled = remoteIpEnabled; } public String getServerType() { return this.serverType; } public void setServerType(String serverType) { this.serverType = serverType; } public Integer getPort() { return this.port; } public void setPort(Integer port) { this.port = port; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getServerIp() { return this.serverIp; } public void setServerIp(String serverIp) { this.serverIp = serverIp; } public Integer getWeight() { return this.weight; } public void setWeight(Integer weight) { this.weight = weight; } public String getServerId() { return this.serverId; } public void setServerId(String serverId) { this.serverId = serverId; } } @Override public Class<AddServersToServerGroupResponse> getResponseClass() { return AddServersToServerGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AddServersToServerGroupResponse.java
/* * 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.alb.model.v20200616; import com.aliyuncs.AcsResponse; import com.aliyuncs.alb.transform.v20200616.AddServersToServerGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddServersToServerGroupResponse extends AcsResponse { private String jobId; private String requestId; public String getJobId() { return this.jobId; } public void setJobId(String jobId) { this.jobId = jobId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public AddServersToServerGroupResponse getInstance(UnmarshallerContext context) { return AddServersToServerGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ApplyHealthCheckTemplateToServerGroupRequest.java
/* * 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.alb.model.v20200616; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alb.Endpoint; /** * @author auto create * @version */ public class ApplyHealthCheckTemplateToServerGroupRequest extends RpcAcsRequest<ApplyHealthCheckTemplateToServerGroupResponse> { private String clientToken; private String serverGroupId; private Boolean dryRun; private String healthCheckTemplateId; public ApplyHealthCheckTemplateToServerGroupRequest() { super("Alb", "2020-06-16", "ApplyHealthCheckTemplateToServerGroup", "alb"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public String getServerGroupId() { return this.serverGroupId; } public void setServerGroupId(String serverGroupId) { this.serverGroupId = serverGroupId; if(serverGroupId != null){ putQueryParameter("ServerGroupId", serverGroupId); } } public Boolean getDryRun() { return this.dryRun; } public void setDryRun(Boolean dryRun) { this.dryRun = dryRun; if(dryRun != null){ putQueryParameter("DryRun", dryRun.toString()); } } public String getHealthCheckTemplateId() { return this.healthCheckTemplateId; } public void setHealthCheckTemplateId(String healthCheckTemplateId) { this.healthCheckTemplateId = healthCheckTemplateId; if(healthCheckTemplateId != null){ putQueryParameter("HealthCheckTemplateId", healthCheckTemplateId); } } @Override public Class<ApplyHealthCheckTemplateToServerGroupResponse> getResponseClass() { return ApplyHealthCheckTemplateToServerGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ApplyHealthCheckTemplateToServerGroupResponse.java
/* * 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.alb.model.v20200616; import com.aliyuncs.AcsResponse; import com.aliyuncs.alb.transform.v20200616.ApplyHealthCheckTemplateToServerGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ApplyHealthCheckTemplateToServerGroupResponse extends AcsResponse { private String jobId; private String requestId; public String getJobId() { return this.jobId; } public void setJobId(String jobId) { this.jobId = jobId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ApplyHealthCheckTemplateToServerGroupResponse getInstance(UnmarshallerContext context) { return ApplyHealthCheckTemplateToServerGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AssociateAclsWithListenerRequest.java
/* * 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.alb.model.v20200616; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.alb.Endpoint; /** * @author auto create * @version */ public class AssociateAclsWithListenerRequest extends RpcAcsRequest<AssociateAclsWithListenerResponse> { private String clientToken; private List<String> aclIds; private String aclType; private String listenerId; private Boolean dryRun; public AssociateAclsWithListenerRequest() { super("Alb", "2020-06-16", "AssociateAclsWithListener", "alb"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public List<String> getAclIds() { return this.aclIds; } public void setAclIds(List<String> aclIds) { this.aclIds = aclIds; if (aclIds != null) { for (int depth1 = 0; depth1 < aclIds.size(); depth1++) { putQueryParameter("AclIds." + (depth1 + 1) , aclIds.get(depth1)); } } } public String getAclType() { return this.aclType; } public void setAclType(String aclType) { this.aclType = aclType; if(aclType != null){ putQueryParameter("AclType", aclType); } } public String getListenerId() { return this.listenerId; } public void setListenerId(String listenerId) { this.listenerId = listenerId; if(listenerId != null){ putQueryParameter("ListenerId", listenerId); } } public Boolean getDryRun() { return this.dryRun; } public void setDryRun(Boolean dryRun) { this.dryRun = dryRun; if(dryRun != null){ putQueryParameter("DryRun", dryRun.toString()); } } @Override public Class<AssociateAclsWithListenerResponse> getResponseClass() { return AssociateAclsWithListenerResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AssociateAclsWithListenerResponse.java
/* * 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.alb.model.v20200616; import com.aliyuncs.AcsResponse; import com.aliyuncs.alb.transform.v20200616.AssociateAclsWithListenerResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AssociateAclsWithListenerResponse extends AcsResponse { private String jobId; private String requestId; public String getJobId() { return this.jobId; } public void setJobId(String jobId) { this.jobId = jobId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public AssociateAclsWithListenerResponse getInstance(UnmarshallerContext context) { return AssociateAclsWithListenerResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AssociateAdditionalCertificatesWithListenerRequest.java
/* * 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.alb.model.v20200616; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.alb.Endpoint; /** * @author auto create * @version */ public class AssociateAdditionalCertificatesWithListenerRequest extends RpcAcsRequest<AssociateAdditionalCertificatesWithListenerResponse> { private String clientToken; private String listenerId; private Boolean dryRun; private List<Certificates> certificates; public AssociateAdditionalCertificatesWithListenerRequest() { super("Alb", "2020-06-16", "AssociateAdditionalCertificatesWithListener", "alb"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public String getListenerId() { return this.listenerId; } public void setListenerId(String listenerId) { this.listenerId = listenerId; if(listenerId != null){ putQueryParameter("ListenerId", listenerId); } } public Boolean getDryRun() { return this.dryRun; } public void setDryRun(Boolean dryRun) { this.dryRun = dryRun; if(dryRun != null){ putQueryParameter("DryRun", dryRun.toString()); } } public List<Certificates> getCertificates() { return this.certificates; } public void setCertificates(List<Certificates> certificates) { this.certificates = certificates; if (certificates != null) { for (int depth1 = 0; depth1 < certificates.size(); depth1++) { if (certificates.get(depth1) != null) { putQueryParameter("Certificates." + (depth1 + 1) + ".CertificateId" , certificates.get(depth1).getCertificateId()); } } } } public static class Certificates { private String certificateId; public String getCertificateId() { return this.certificateId; } public void setCertificateId(String certificateId) { this.certificateId = certificateId; } } @Override public Class<AssociateAdditionalCertificatesWithListenerResponse> getResponseClass() { return AssociateAdditionalCertificatesWithListenerResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AssociateAdditionalCertificatesWithListenerResponse.java
/* * 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.alb.model.v20200616; import com.aliyuncs.AcsResponse; import com.aliyuncs.alb.transform.v20200616.AssociateAdditionalCertificatesWithListenerResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AssociateAdditionalCertificatesWithListenerResponse extends AcsResponse { private String jobId; private String requestId; public String getJobId() { return this.jobId; } public void setJobId(String jobId) { this.jobId = jobId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public AssociateAdditionalCertificatesWithListenerResponse getInstance(UnmarshallerContext context) { return AssociateAdditionalCertificatesWithListenerResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }