index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/ListVehicleDetailsResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.ListVehicleDetailsResponse; import com.aliyuncs.cdrs.model.v20201101.ListVehicleDetailsResponse.Datas; import com.aliyuncs.transform.UnmarshallerContext; public class ListVehicleDetailsResponseUnmarshaller { public static ListVehicleDetailsResponse unmarshall(ListVehicleDetailsResponse listVehicleDetailsResponse, UnmarshallerContext _ctx) { listVehicleDetailsResponse.setRequestId(_ctx.stringValue("ListVehicleDetailsResponse.RequestId")); listVehicleDetailsResponse.setCode(_ctx.stringValue("ListVehicleDetailsResponse.Code")); listVehicleDetailsResponse.setMessage(_ctx.stringValue("ListVehicleDetailsResponse.Message")); listVehicleDetailsResponse.setPageNumber(_ctx.longValue("ListVehicleDetailsResponse.PageNumber")); listVehicleDetailsResponse.setPageSize(_ctx.longValue("ListVehicleDetailsResponse.PageSize")); listVehicleDetailsResponse.setTotalCount(_ctx.longValue("ListVehicleDetailsResponse.TotalCount")); List<Datas> data = new ArrayList<Datas>(); for (int i = 0; i < _ctx.lengthValue("ListVehicleDetailsResponse.Data.Length"); i++) { Datas datas = new Datas(); datas.setVehicleId(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].VehicleId")); datas.setVehicleColor(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].VehicleColor")); datas.setTargetImageStoragePath(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].TargetImageStoragePath")); datas.setGender(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].Gender")); datas.setPersonType(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].PersonType")); datas.setPrefOutTime(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].PrefOutTime")); datas.setPopularPoi(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].PopularPoi")); datas.setPopularAddress(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].PopularAddress")); datas.setSourceImageStoragePath(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].SourceImageStoragePath")); datas.setVehicleClass(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].VehicleClass")); datas.setVehicleApplication(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].VehicleApplication")); datas.setPersonId(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].PersonId")); datas.setPlateId(_ctx.stringValue("ListVehicleDetailsResponse.Data["+ i +"].PlateId")); data.add(datas); } listVehicleDetailsResponse.setData(data); return listVehicleDetailsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/ListVehicleResultsResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.ListVehicleResultsResponse; import com.aliyuncs.cdrs.model.v20201101.ListVehicleResultsResponse.Datas; import com.aliyuncs.transform.UnmarshallerContext; public class ListVehicleResultsResponseUnmarshaller { public static ListVehicleResultsResponse unmarshall(ListVehicleResultsResponse listVehicleResultsResponse, UnmarshallerContext _ctx) { listVehicleResultsResponse.setRequestId(_ctx.stringValue("ListVehicleResultsResponse.RequestId")); listVehicleResultsResponse.setCode(_ctx.stringValue("ListVehicleResultsResponse.Code")); listVehicleResultsResponse.setMessage(_ctx.stringValue("ListVehicleResultsResponse.Message")); listVehicleResultsResponse.setPageNumber(_ctx.longValue("ListVehicleResultsResponse.PageNumber")); listVehicleResultsResponse.setPageSize(_ctx.longValue("ListVehicleResultsResponse.PageSize")); listVehicleResultsResponse.setTotalCount(_ctx.longValue("ListVehicleResultsResponse.TotalCount")); List<Datas> data = new ArrayList<Datas>(); for (int i = 0; i < _ctx.lengthValue("ListVehicleResultsResponse.Data.Length"); i++) { Datas datas = new Datas(); datas.setVehicleId(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].VehicleId")); datas.setGender(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].Gender")); datas.setVehicleClass(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].VehicleClass")); datas.setProfession(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].Profession")); datas.setLiveAddress(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].LiveAddress")); datas.setPlateId(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].PlateId")); datas.setVehicleApplication(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].VehicleApplication")); datas.setPersonId(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].PersonId")); datas.setUpdateTime(_ctx.stringValue("ListVehicleResultsResponse.Data["+ i +"].UpdateTime")); data.add(datas); } listVehicleResultsResponse.setData(data); return listVehicleResultsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/ListVehicleTagDistributeResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.ListVehicleTagDistributeResponse; import com.aliyuncs.cdrs.model.v20201101.ListVehicleTagDistributeResponse.Datas; import com.aliyuncs.transform.UnmarshallerContext; public class ListVehicleTagDistributeResponseUnmarshaller { public static ListVehicleTagDistributeResponse unmarshall(ListVehicleTagDistributeResponse listVehicleTagDistributeResponse, UnmarshallerContext _ctx) { listVehicleTagDistributeResponse.setRequestId(_ctx.stringValue("ListVehicleTagDistributeResponse.RequestId")); listVehicleTagDistributeResponse.setCode(_ctx.stringValue("ListVehicleTagDistributeResponse.Code")); listVehicleTagDistributeResponse.setMessage(_ctx.stringValue("ListVehicleTagDistributeResponse.Message")); listVehicleTagDistributeResponse.setPageNumber(_ctx.longValue("ListVehicleTagDistributeResponse.PageNumber")); listVehicleTagDistributeResponse.setPageSize(_ctx.longValue("ListVehicleTagDistributeResponse.PageSize")); listVehicleTagDistributeResponse.setTotalCount(_ctx.longValue("ListVehicleTagDistributeResponse.TotalCount")); List<Datas> data = new ArrayList<Datas>(); for (int i = 0; i < _ctx.lengthValue("ListVehicleTagDistributeResponse.Data.Length"); i++) { Datas datas = new Datas(); datas.setCorpId(_ctx.stringValue("ListVehicleTagDistributeResponse.Data["+ i +"].CorpId")); datas.setTagValue(_ctx.stringValue("ListVehicleTagDistributeResponse.Data["+ i +"].TagValue")); datas.setValue(_ctx.stringValue("ListVehicleTagDistributeResponse.Data["+ i +"].Value")); data.add(datas); } listVehicleTagDistributeResponse.setData(data); return listVehicleTagDistributeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/ListVehicleTopResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.ListVehicleTopResponse; import com.aliyuncs.cdrs.model.v20201101.ListVehicleTopResponse.Datas; import com.aliyuncs.transform.UnmarshallerContext; public class ListVehicleTopResponseUnmarshaller { public static ListVehicleTopResponse unmarshall(ListVehicleTopResponse listVehicleTopResponse, UnmarshallerContext _ctx) { listVehicleTopResponse.setRequestId(_ctx.stringValue("ListVehicleTopResponse.RequestId")); listVehicleTopResponse.setCode(_ctx.stringValue("ListVehicleTopResponse.Code")); listVehicleTopResponse.setMessage(_ctx.stringValue("ListVehicleTopResponse.Message")); listVehicleTopResponse.setPageNumber(_ctx.longValue("ListVehicleTopResponse.PageNumber")); listVehicleTopResponse.setPageSize(_ctx.longValue("ListVehicleTopResponse.PageSize")); listVehicleTopResponse.setTotalCount(_ctx.longValue("ListVehicleTopResponse.TotalCount")); List<Datas> data = new ArrayList<Datas>(); for (int i = 0; i < _ctx.lengthValue("ListVehicleTopResponse.Data.Length"); i++) { Datas datas = new Datas(); datas.setCorpId(_ctx.stringValue("ListVehicleTopResponse.Data["+ i +"].CorpId")); datas.setVehicleId(_ctx.stringValue("ListVehicleTopResponse.Data["+ i +"].VehicleId")); datas.setPoiId(_ctx.stringValue("ListVehicleTopResponse.Data["+ i +"].PoiId")); datas.setPoiName(_ctx.stringValue("ListVehicleTopResponse.Data["+ i +"].PoiName")); datas.setPassHour(_ctx.stringValue("ListVehicleTopResponse.Data["+ i +"].PassHour")); datas.setFrequency(_ctx.stringValue("ListVehicleTopResponse.Data["+ i +"].Frequency")); data.add(datas); } listVehicleTopResponse.setData(data); return listVehicleTopResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/ListVehicleTrackResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.ListVehicleTrackResponse; import com.aliyuncs.cdrs.model.v20201101.ListVehicleTrackResponse.Datas; import com.aliyuncs.transform.UnmarshallerContext; public class ListVehicleTrackResponseUnmarshaller { public static ListVehicleTrackResponse unmarshall(ListVehicleTrackResponse listVehicleTrackResponse, UnmarshallerContext _ctx) { listVehicleTrackResponse.setRequestId(_ctx.stringValue("ListVehicleTrackResponse.RequestId")); listVehicleTrackResponse.setCode(_ctx.stringValue("ListVehicleTrackResponse.Code")); listVehicleTrackResponse.setMessage(_ctx.stringValue("ListVehicleTrackResponse.Message")); listVehicleTrackResponse.setPageNumber(_ctx.longValue("ListVehicleTrackResponse.PageNumber")); listVehicleTrackResponse.setPageSize(_ctx.longValue("ListVehicleTrackResponse.PageSize")); listVehicleTrackResponse.setTotalCount(_ctx.longValue("ListVehicleTrackResponse.TotalCount")); List<Datas> data = new ArrayList<Datas>(); for (int i = 0; i < _ctx.lengthValue("ListVehicleTrackResponse.Data.Length"); i++) { Datas datas = new Datas(); datas.setPlateId(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].PlateId")); datas.setCorpId(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].CorpId")); datas.setDataSourceId(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].DataSourceId")); datas.setDataSourceName(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].DataSourceName")); datas.setPicUrlPath(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].PicUrlPath")); datas.setTargetPicUrlPath(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].TargetPicUrlPath")); datas.setRightBottomY(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].RightBottomY")); datas.setRightBottomX(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].RightBottomX")); datas.setLeftTopY(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].LeftTopY")); datas.setLeftTopX(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].LeftTopX")); datas.setPassTime(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].PassTime")); datas.setOrder(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].Order")); datas.setLatitude(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].Latitude")); datas.setLongitude(_ctx.stringValue("ListVehicleTrackResponse.Data["+ i +"].Longitude")); data.add(datas); } listVehicleTrackResponse.setData(data); return listVehicleTrackResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/PaginateDeviceResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.PaginateDeviceResponse; import com.aliyuncs.cdrs.model.v20201101.PaginateDeviceResponse.Data; import com.aliyuncs.cdrs.model.v20201101.PaginateDeviceResponse.Data.RecordsItem; import com.aliyuncs.transform.UnmarshallerContext; public class PaginateDeviceResponseUnmarshaller { public static PaginateDeviceResponse unmarshall(PaginateDeviceResponse paginateDeviceResponse, UnmarshallerContext _ctx) { paginateDeviceResponse.setRequestId(_ctx.stringValue("PaginateDeviceResponse.RequestId")); paginateDeviceResponse.setMessage(_ctx.stringValue("PaginateDeviceResponse.Message")); paginateDeviceResponse.setCode(_ctx.stringValue("PaginateDeviceResponse.Code")); Data data = new Data(); data.setPageNumber(_ctx.integerValue("PaginateDeviceResponse.Data.PageNumber")); data.setPageSize(_ctx.integerValue("PaginateDeviceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("PaginateDeviceResponse.Data.TotalCount")); List<RecordsItem> records = new ArrayList<RecordsItem>(); for (int i = 0; i < _ctx.lengthValue("PaginateDeviceResponse.Data.Records.Length"); i++) { RecordsItem recordsItem = new RecordsItem(); recordsItem.setDeviceId(_ctx.stringValue("PaginateDeviceResponse.Data.Records["+ i +"].DeviceId")); records.add(recordsItem); } data.setRecords(records); paginateDeviceResponse.setData(data); return paginateDeviceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/PaginateProjectResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.PaginateProjectResponse; import com.aliyuncs.cdrs.model.v20201101.PaginateProjectResponse.Data; import com.aliyuncs.cdrs.model.v20201101.PaginateProjectResponse.Data.RecordsItem; import com.aliyuncs.transform.UnmarshallerContext; public class PaginateProjectResponseUnmarshaller { public static PaginateProjectResponse unmarshall(PaginateProjectResponse paginateProjectResponse, UnmarshallerContext _ctx) { paginateProjectResponse.setRequestId(_ctx.stringValue("PaginateProjectResponse.RequestId")); paginateProjectResponse.setCode(_ctx.stringValue("PaginateProjectResponse.Code")); paginateProjectResponse.setMessage(_ctx.stringValue("PaginateProjectResponse.Message")); Data data = new Data(); data.setPageNumber(_ctx.integerValue("PaginateProjectResponse.Data.PageNumber")); data.setPageSize(_ctx.integerValue("PaginateProjectResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("PaginateProjectResponse.Data.TotalCount")); data.setTotalPage(_ctx.integerValue("PaginateProjectResponse.Data.TotalPage")); List<RecordsItem> records = new ArrayList<RecordsItem>(); for (int i = 0; i < _ctx.lengthValue("PaginateProjectResponse.Data.Records.Length"); i++) { RecordsItem recordsItem = new RecordsItem(); recordsItem.setUserId(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].UserId")); recordsItem.setType(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].Type")); recordsItem.setCorpId(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].CorpId")); recordsItem.setName(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].Name")); recordsItem.setCreatedTime(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].CreatedTime")); recordsItem.setModifiedTime(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].ModifiedTime")); recordsItem.setIcon(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].Icon")); recordsItem.setDescription(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].Description")); recordsItem.setAggregateSceneCode(_ctx.stringValue("PaginateProjectResponse.Data.Records["+ i +"].AggregateSceneCode")); records.add(recordsItem); } data.setRecords(records); paginateProjectResponse.setData(data); return paginateProjectResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/RecognizeImageResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.RecognizeImageResponse; import com.aliyuncs.cdrs.model.v20201101.RecognizeImageResponse.Data; import com.aliyuncs.cdrs.model.v20201101.RecognizeImageResponse.Data.BodyListItem; import com.aliyuncs.cdrs.model.v20201101.RecognizeImageResponse.Data.FaceListItem; import com.aliyuncs.transform.UnmarshallerContext; public class RecognizeImageResponseUnmarshaller { public static RecognizeImageResponse unmarshall(RecognizeImageResponse recognizeImageResponse, UnmarshallerContext _ctx) { recognizeImageResponse.setRequestId(_ctx.stringValue("RecognizeImageResponse.RequestId")); recognizeImageResponse.setCode(_ctx.stringValue("RecognizeImageResponse.Code")); recognizeImageResponse.setMessage(_ctx.stringValue("RecognizeImageResponse.Message")); recognizeImageResponse.setSuccess(_ctx.stringValue("RecognizeImageResponse.Success")); Data data = new Data(); List<BodyListItem> bodyList = new ArrayList<BodyListItem>(); for (int i = 0; i < _ctx.lengthValue("RecognizeImageResponse.Data.BodyList.Length"); i++) { BodyListItem bodyListItem = new BodyListItem(); bodyListItem.setLeftTopX(_ctx.integerValue("RecognizeImageResponse.Data.BodyList["+ i +"].LeftTopX")); bodyListItem.setLeftTopY(_ctx.integerValue("RecognizeImageResponse.Data.BodyList["+ i +"].LeftTopY")); bodyListItem.setRightBottomX(_ctx.integerValue("RecognizeImageResponse.Data.BodyList["+ i +"].RightBottomX")); bodyListItem.setRightBottomY(_ctx.integerValue("RecognizeImageResponse.Data.BodyList["+ i +"].RightBottomY")); bodyListItem.setFeature(_ctx.stringValue("RecognizeImageResponse.Data.BodyList["+ i +"].Feature")); bodyList.add(bodyListItem); } data.setBodyList(bodyList); List<FaceListItem> faceList = new ArrayList<FaceListItem>(); for (int i = 0; i < _ctx.lengthValue("RecognizeImageResponse.Data.FaceList.Length"); i++) { FaceListItem faceListItem = new FaceListItem(); faceListItem.setLeftTopX(_ctx.integerValue("RecognizeImageResponse.Data.FaceList["+ i +"].LeftTopX")); faceListItem.setLeftTopY(_ctx.integerValue("RecognizeImageResponse.Data.FaceList["+ i +"].LeftTopY")); faceListItem.setRightBottomX(_ctx.integerValue("RecognizeImageResponse.Data.FaceList["+ i +"].RightBottomX")); faceListItem.setRightBottomY(_ctx.integerValue("RecognizeImageResponse.Data.FaceList["+ i +"].RightBottomY")); faceListItem.setFaceQuality(_ctx.floatValue("RecognizeImageResponse.Data.FaceList["+ i +"].FaceQuality")); faceListItem.setFaceKeyPointQuality(_ctx.floatValue("RecognizeImageResponse.Data.FaceList["+ i +"].FaceKeyPointQuality")); faceListItem.setFeature(_ctx.stringValue("RecognizeImageResponse.Data.FaceList["+ i +"].Feature")); faceList.add(faceListItem); } data.setFaceList(faceList); recognizeImageResponse.setData(data); return recognizeImageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/SearchObjectResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.SearchObjectResponse; import com.aliyuncs.cdrs.model.v20201101.SearchObjectResponse.Data; import com.aliyuncs.cdrs.model.v20201101.SearchObjectResponse.Data.BodyListItem; import com.aliyuncs.cdrs.model.v20201101.SearchObjectResponse.Data.FaceListItem; import com.aliyuncs.cdrs.model.v20201101.SearchObjectResponse.Data.MotorListItem; import com.aliyuncs.cdrs.model.v20201101.SearchObjectResponse.Data.NonMotorListItem; import com.aliyuncs.transform.UnmarshallerContext; public class SearchObjectResponseUnmarshaller { public static SearchObjectResponse unmarshall(SearchObjectResponse searchObjectResponse, UnmarshallerContext _ctx) { searchObjectResponse.setRequestId(_ctx.stringValue("SearchObjectResponse.RequestId")); searchObjectResponse.setCode(_ctx.stringValue("SearchObjectResponse.Code")); searchObjectResponse.setMessage(_ctx.stringValue("SearchObjectResponse.Message")); searchObjectResponse.setTotal(_ctx.integerValue("SearchObjectResponse.Total")); searchObjectResponse.setPageSize(_ctx.longValue("SearchObjectResponse.PageSize")); searchObjectResponse.setSuccess(_ctx.booleanValue("SearchObjectResponse.Success")); Data data = new Data(); List<BodyListItem> bodyList = new ArrayList<BodyListItem>(); for (int i = 0; i < _ctx.lengthValue("SearchObjectResponse.Data.BodyList.Length"); i++) { BodyListItem bodyListItem = new BodyListItem(); bodyListItem.setDeviceID(_ctx.stringValue("SearchObjectResponse.Data.BodyList["+ i +"].DeviceID")); bodyListItem.setObjectType(_ctx.stringValue("SearchObjectResponse.Data.BodyList["+ i +"].ObjectType")); bodyListItem.setLeftTopX(_ctx.integerValue("SearchObjectResponse.Data.BodyList["+ i +"].LeftTopX")); bodyListItem.setLeftTopY(_ctx.integerValue("SearchObjectResponse.Data.BodyList["+ i +"].LeftTopY")); bodyListItem.setRightBottomX(_ctx.integerValue("SearchObjectResponse.Data.BodyList["+ i +"].RightBottomX")); bodyListItem.setRightBottomY(_ctx.integerValue("SearchObjectResponse.Data.BodyList["+ i +"].RightBottomY")); bodyListItem.setScore(_ctx.floatValue("SearchObjectResponse.Data.BodyList["+ i +"].Score")); bodyListItem.setShotTime(_ctx.stringValue("SearchObjectResponse.Data.BodyList["+ i +"].ShotTime")); bodyListItem.setSourceImageUrl(_ctx.stringValue("SearchObjectResponse.Data.BodyList["+ i +"].SourceImageUrl")); bodyListItem.setTargetImageUrl(_ctx.stringValue("SearchObjectResponse.Data.BodyList["+ i +"].TargetImageUrl")); bodyList.add(bodyListItem); } data.setBodyList(bodyList); List<FaceListItem> faceList = new ArrayList<FaceListItem>(); for (int i = 0; i < _ctx.lengthValue("SearchObjectResponse.Data.FaceList.Length"); i++) { FaceListItem faceListItem = new FaceListItem(); faceListItem.setDeviceID(_ctx.stringValue("SearchObjectResponse.Data.FaceList["+ i +"].DeviceID")); faceListItem.setObjectType(_ctx.stringValue("SearchObjectResponse.Data.FaceList["+ i +"].ObjectType")); faceListItem.setLeftTopX(_ctx.integerValue("SearchObjectResponse.Data.FaceList["+ i +"].LeftTopX")); faceListItem.setLeftTopY(_ctx.integerValue("SearchObjectResponse.Data.FaceList["+ i +"].LeftTopY")); faceListItem.setRightBottomX(_ctx.integerValue("SearchObjectResponse.Data.FaceList["+ i +"].RightBottomX")); faceListItem.setRightBottomY(_ctx.integerValue("SearchObjectResponse.Data.FaceList["+ i +"].RightBottomY")); faceListItem.setScore(_ctx.floatValue("SearchObjectResponse.Data.FaceList["+ i +"].Score")); faceListItem.setShotTime(_ctx.stringValue("SearchObjectResponse.Data.FaceList["+ i +"].ShotTime")); faceListItem.setSourceImageUrl(_ctx.stringValue("SearchObjectResponse.Data.FaceList["+ i +"].SourceImageUrl")); faceListItem.setTargetImageUrl(_ctx.stringValue("SearchObjectResponse.Data.FaceList["+ i +"].TargetImageUrl")); faceList.add(faceListItem); } data.setFaceList(faceList); List<MotorListItem> motorList = new ArrayList<MotorListItem>(); for (int i = 0; i < _ctx.lengthValue("SearchObjectResponse.Data.MotorList.Length"); i++) { MotorListItem motorListItem = new MotorListItem(); motorListItem.setDeviceID(_ctx.stringValue("SearchObjectResponse.Data.MotorList["+ i +"].DeviceID")); motorListItem.setObjectType(_ctx.stringValue("SearchObjectResponse.Data.MotorList["+ i +"].ObjectType")); motorListItem.setLeftTopX(_ctx.integerValue("SearchObjectResponse.Data.MotorList["+ i +"].LeftTopX")); motorListItem.setLeftTopY(_ctx.integerValue("SearchObjectResponse.Data.MotorList["+ i +"].LeftTopY")); motorListItem.setRightBottomX(_ctx.integerValue("SearchObjectResponse.Data.MotorList["+ i +"].RightBottomX")); motorListItem.setRightBottomY(_ctx.integerValue("SearchObjectResponse.Data.MotorList["+ i +"].RightBottomY")); motorListItem.setScore(_ctx.floatValue("SearchObjectResponse.Data.MotorList["+ i +"].Score")); motorListItem.setShotTime(_ctx.stringValue("SearchObjectResponse.Data.MotorList["+ i +"].ShotTime")); motorListItem.setSourceImageUrl(_ctx.stringValue("SearchObjectResponse.Data.MotorList["+ i +"].SourceImageUrl")); motorListItem.setTargetImageUrl(_ctx.stringValue("SearchObjectResponse.Data.MotorList["+ i +"].TargetImageUrl")); motorList.add(motorListItem); } data.setMotorList(motorList); List<NonMotorListItem> nonMotorList = new ArrayList<NonMotorListItem>(); for (int i = 0; i < _ctx.lengthValue("SearchObjectResponse.Data.NonMotorList.Length"); i++) { NonMotorListItem nonMotorListItem = new NonMotorListItem(); nonMotorListItem.setDeviceID(_ctx.stringValue("SearchObjectResponse.Data.NonMotorList["+ i +"].DeviceID")); nonMotorListItem.setObjectType(_ctx.stringValue("SearchObjectResponse.Data.NonMotorList["+ i +"].ObjectType")); nonMotorListItem.setLeftTopX(_ctx.integerValue("SearchObjectResponse.Data.NonMotorList["+ i +"].LeftTopX")); nonMotorListItem.setLeftTopY(_ctx.integerValue("SearchObjectResponse.Data.NonMotorList["+ i +"].LeftTopY")); nonMotorListItem.setRightBottomX(_ctx.integerValue("SearchObjectResponse.Data.NonMotorList["+ i +"].RightBottomX")); nonMotorListItem.setRightBottomY(_ctx.integerValue("SearchObjectResponse.Data.NonMotorList["+ i +"].RightBottomY")); nonMotorListItem.setScore(_ctx.integerValue("SearchObjectResponse.Data.NonMotorList["+ i +"].Score")); nonMotorListItem.setShotTime(_ctx.stringValue("SearchObjectResponse.Data.NonMotorList["+ i +"].ShotTime")); nonMotorListItem.setSourceImageUrl(_ctx.stringValue("SearchObjectResponse.Data.NonMotorList["+ i +"].SourceImageUrl")); nonMotorListItem.setTargetImageUrl(_ctx.stringValue("SearchObjectResponse.Data.NonMotorList["+ i +"].TargetImageUrl")); nonMotorList.add(nonMotorListItem); } data.setNonMotorList(nonMotorList); searchObjectResponse.setData(data); return searchObjectResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/StopCdrsMonitorResponseUnmarshaller.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.cdrs.transform.v20201101; import com.aliyuncs.cdrs.model.v20201101.StopCdrsMonitorResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StopCdrsMonitorResponseUnmarshaller { public static StopCdrsMonitorResponse unmarshall(StopCdrsMonitorResponse stopCdrsMonitorResponse, UnmarshallerContext _ctx) { stopCdrsMonitorResponse.setRequestId(_ctx.stringValue("StopCdrsMonitorResponse.RequestId")); stopCdrsMonitorResponse.setCode(_ctx.stringValue("StopCdrsMonitorResponse.Code")); stopCdrsMonitorResponse.setData(_ctx.stringValue("StopCdrsMonitorResponse.Data")); stopCdrsMonitorResponse.setMessage(_ctx.stringValue("StopCdrsMonitorResponse.Message")); return stopCdrsMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/UnbindDeviceResponseUnmarshaller.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.cdrs.transform.v20201101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdrs.model.v20201101.UnbindDeviceResponse; import com.aliyuncs.cdrs.model.v20201101.UnbindDeviceResponse.Datas; import com.aliyuncs.transform.UnmarshallerContext; public class UnbindDeviceResponseUnmarshaller { public static UnbindDeviceResponse unmarshall(UnbindDeviceResponse unbindDeviceResponse, UnmarshallerContext _ctx) { unbindDeviceResponse.setRequestId(_ctx.stringValue("UnbindDeviceResponse.RequestId")); unbindDeviceResponse.setCode(_ctx.stringValue("UnbindDeviceResponse.Code")); unbindDeviceResponse.setMessage(_ctx.stringValue("UnbindDeviceResponse.Message")); List<Datas> data = new ArrayList<Datas>(); for (int i = 0; i < _ctx.lengthValue("UnbindDeviceResponse.Data.Length"); i++) { Datas datas = new Datas(); datas.setSuccess(_ctx.booleanValue("UnbindDeviceResponse.Data["+ i +"].Success")); datas.setCode(_ctx.stringValue("UnbindDeviceResponse.Data["+ i +"].Code")); datas.setMessage(_ctx.stringValue("UnbindDeviceResponse.Data["+ i +"].Message")); datas.setDeviceId(_ctx.stringValue("UnbindDeviceResponse.Data["+ i +"].DeviceId")); data.add(datas); } unbindDeviceResponse.setData(data); return unbindDeviceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/UpdateCdrsMonitorResponseUnmarshaller.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.cdrs.transform.v20201101; import com.aliyuncs.cdrs.model.v20201101.UpdateCdrsMonitorResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateCdrsMonitorResponseUnmarshaller { public static UpdateCdrsMonitorResponse unmarshall(UpdateCdrsMonitorResponse updateCdrsMonitorResponse, UnmarshallerContext _ctx) { updateCdrsMonitorResponse.setRequestId(_ctx.stringValue("UpdateCdrsMonitorResponse.RequestId")); updateCdrsMonitorResponse.setCode(_ctx.stringValue("UpdateCdrsMonitorResponse.Code")); updateCdrsMonitorResponse.setData(_ctx.stringValue("UpdateCdrsMonitorResponse.Data")); updateCdrsMonitorResponse.setMessage(_ctx.stringValue("UpdateCdrsMonitorResponse.Message")); return updateCdrsMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform
java-sources/com/aliyun/aliyun-java-sdk-cdrs/1.0.8/com/aliyuncs/cdrs/transform/v20201101/UpdateProjectResponseUnmarshaller.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.cdrs.transform.v20201101; import com.aliyuncs.cdrs.model.v20201101.UpdateProjectResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateProjectResponseUnmarshaller { public static UpdateProjectResponse unmarshall(UpdateProjectResponse updateProjectResponse, UnmarshallerContext _ctx) { updateProjectResponse.setRequestId(_ctx.stringValue("UpdateProjectResponse.RequestId")); updateProjectResponse.setCode(_ctx.stringValue("UpdateProjectResponse.Code")); updateProjectResponse.setMessage(_ctx.stringValue("UpdateProjectResponse.Message")); return updateProjectResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/CreateCredentialRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateCredentialRequest extends RoaAcsRequest<CreateCredentialResponse> { public CreateCredentialRequest() { super("Cds", "2017-09-25", "CreateCredential", "cds"); setUriPattern("/v1/credential/create"); setMethod(MethodType.POST); } private String credentialType; private String jsonContent; public String getCredentialType() { return this.credentialType; } public void setCredentialType(String credentialType) { this.credentialType = credentialType; if(credentialType != null){ putQueryParameter("CredentialType", credentialType); } } public String getJsonContent() { return this.jsonContent; } public void setJsonContent(String jsonContent) { this.jsonContent = jsonContent; if(jsonContent != null){ putQueryParameter("JsonContent", jsonContent); } } @Override public Class<CreateCredentialResponse> getResponseClass() { return CreateCredentialResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/CreateCredentialResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.CreateCredentialResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateCredentialResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CreateCredentialResponse getInstance(UnmarshallerContext context) { return CreateCredentialResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/CreateJobRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateJobRequest extends RoaAcsRequest<CreateJobResponse> { public CreateJobRequest() { super("Cds", "2017-09-25", "CreateJob", "cds"); setUriPattern("/v1/job/create"); setMethod(MethodType.POST); } private String jsonContent; private String jobName; private String deployType; public String getJsonContent() { return this.jsonContent; } public void setJsonContent(String jsonContent) { this.jsonContent = jsonContent; if(jsonContent != null){ putQueryParameter("JsonContent", jsonContent); } } public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putQueryParameter("JobName", jobName); } } public String getDeployType() { return this.deployType; } public void setDeployType(String deployType) { this.deployType = deployType; if(deployType != null){ putQueryParameter("DeployType", deployType); } } @Override public Class<CreateJobResponse> getResponseClass() { return CreateJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/CreateJobResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.CreateJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateJobResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CreateJobResponse getInstance(UnmarshallerContext context) { return CreateJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/DeleteBuildRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteBuildRequest extends RoaAcsRequest<DeleteBuildResponse> { public DeleteBuildRequest() { super("Cds", "2017-09-25", "DeleteBuild", "cds"); setUriPattern("/v1/job/[JobName]/build/[BuildNumber]"); setMethod(MethodType.DELETE); } private Integer buildNumber; private String jobName; public Integer getBuildNumber() { return this.buildNumber; } public void setBuildNumber(Integer buildNumber) { this.buildNumber = buildNumber; if(buildNumber != null){ putPathParameter("BuildNumber", buildNumber.toString()); } } public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<DeleteBuildResponse> getResponseClass() { return DeleteBuildResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/DeleteBuildResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.DeleteBuildResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteBuildResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeleteBuildResponse getInstance(UnmarshallerContext context) { return DeleteBuildResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/DeleteCredentialRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteCredentialRequest extends RoaAcsRequest<DeleteCredentialResponse> { public DeleteCredentialRequest() { super("Cds", "2017-09-25", "DeleteCredential", "cds"); setUriPattern("/v1/credential/delete"); setMethod(MethodType.POST); } private String credentialId; public String getCredentialId() { return this.credentialId; } public void setCredentialId(String credentialId) { this.credentialId = credentialId; if(credentialId != null){ putQueryParameter("CredentialId", credentialId); } } @Override public Class<DeleteCredentialResponse> getResponseClass() { return DeleteCredentialResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/DeleteCredentialResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.DeleteCredentialResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteCredentialResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeleteCredentialResponse getInstance(UnmarshallerContext context) { return DeleteCredentialResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/DeleteJobRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteJobRequest extends RoaAcsRequest<DeleteJobResponse> { public DeleteJobRequest() { super("Cds", "2017-09-25", "DeleteJob", "cds"); setUriPattern("/v1/job/[JobName]"); setMethod(MethodType.DELETE); } private String jobName; public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<DeleteJobResponse> getResponseClass() { return DeleteJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/DeleteJobResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.DeleteJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteJobResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeleteJobResponse getInstance(UnmarshallerContext context) { return DeleteJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetBuildRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetBuildRequest extends RoaAcsRequest<GetBuildResponse> { public GetBuildRequest() { super("Cds", "2017-09-25", "GetBuild", "cds"); setUriPattern("/v1/job/[JobName]/build/[BuildNumber]"); setMethod(MethodType.GET); } private Integer buildNumber; private String jobName; public Integer getBuildNumber() { return this.buildNumber; } public void setBuildNumber(Integer buildNumber) { this.buildNumber = buildNumber; if(buildNumber != null){ putPathParameter("BuildNumber", buildNumber.toString()); } } public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<GetBuildResponse> getResponseClass() { return GetBuildResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetBuildResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.GetBuildResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetBuildResponse extends AcsResponse { private String buildEnv; private Integer buildNumber; private Integer duration; private String log; private Long startTime; private String requestId; private String buildStatus; public String getBuildEnv() { return this.buildEnv; } public void setBuildEnv(String buildEnv) { this.buildEnv = buildEnv; } public Integer getBuildNumber() { return this.buildNumber; } public void setBuildNumber(Integer buildNumber) { this.buildNumber = buildNumber; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public String getLog() { return this.log; } public void setLog(String log) { this.log = log; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getBuildStatus() { return this.buildStatus; } public void setBuildStatus(String buildStatus) { this.buildStatus = buildStatus; } @Override public GetBuildResponse getInstance(UnmarshallerContext context) { return GetBuildResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetBuildsRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetBuildsRequest extends RoaAcsRequest<GetBuildsResponse> { public GetBuildsRequest() { super("Cds", "2017-09-25", "GetBuilds", "cds"); setUriPattern("/v1/job/[JobName]/builds"); setMethod(MethodType.GET); } private Integer start; private Integer numberPerPage; private String jobName; public Integer getStart() { return this.start; } public void setStart(Integer start) { this.start = start; if(start != null){ putQueryParameter("Start", start.toString()); } } public Integer getNumberPerPage() { return this.numberPerPage; } public void setNumberPerPage(Integer numberPerPage) { this.numberPerPage = numberPerPage; if(numberPerPage != null){ putQueryParameter("NumberPerPage", numberPerPage.toString()); } } public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<GetBuildsResponse> getResponseClass() { return GetBuildsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetBuildsResponse.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.cds.model.v20170925; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.GetBuildsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetBuildsResponse extends AcsResponse { private String requestId; private List<Build> builds; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Build> getBuilds() { return this.builds; } public void setBuilds(List<Build> builds) { this.builds = builds; } public static class Build { private Integer buildNumber; private Integer duration; private Long startTime; private String log; private String buildEnv; public Integer getBuildNumber() { return this.buildNumber; } public void setBuildNumber(Integer buildNumber) { this.buildNumber = buildNumber; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public String getLog() { return this.log; } public void setLog(String log) { this.log = log; } public String getBuildEnv() { return this.buildEnv; } public void setBuildEnv(String buildEnv) { this.buildEnv = buildEnv; } } @Override public GetBuildsResponse getInstance(UnmarshallerContext context) { return GetBuildsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetCredentialsRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetCredentialsRequest extends RoaAcsRequest<GetCredentialsResponse> { public GetCredentialsRequest() { super("Cds", "2017-09-25", "GetCredentials", "cds"); setUriPattern("/v1/credentials"); setMethod(MethodType.GET); } @Override public Class<GetCredentialsResponse> getResponseClass() { return GetCredentialsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetCredentialsResponse.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.cds.model.v20170925; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.GetCredentialsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetCredentialsResponse extends AcsResponse { private String requestId; private List<Credential> credentials; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Credential> getCredentials() { return this.credentials; } public void setCredentials(List<Credential> credentials) { this.credentials = credentials; } public static class Credential { private String credentialId; private String credentialType; public String getCredentialId() { return this.credentialId; } public void setCredentialId(String credentialId) { this.credentialId = credentialId; } public String getCredentialType() { return this.credentialType; } public void setCredentialType(String credentialType) { this.credentialType = credentialType; } } @Override public GetCredentialsResponse getInstance(UnmarshallerContext context) { return GetCredentialsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetJobRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetJobRequest extends RoaAcsRequest<GetJobResponse> { public GetJobRequest() { super("Cds", "2017-09-25", "GetJob", "cds"); setUriPattern("/v1/job/[JobName]"); setMethod(MethodType.GET); } private String jobName; public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<GetJobResponse> getResponseClass() { return GetJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetJobResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.GetJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetJobResponse extends AcsResponse { private String jobName; private Float successRate; private Integer totalBuilds; private String requestId; private Integer nextBuildNumber; private LastSuccessfulBuild lastSuccessfulBuild; private LastFailedBuild lastFailedBuild; public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; } public Float getSuccessRate() { return this.successRate; } public void setSuccessRate(Float successRate) { this.successRate = successRate; } public Integer getTotalBuilds() { return this.totalBuilds; } public void setTotalBuilds(Integer totalBuilds) { this.totalBuilds = totalBuilds; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getNextBuildNumber() { return this.nextBuildNumber; } public void setNextBuildNumber(Integer nextBuildNumber) { this.nextBuildNumber = nextBuildNumber; } public LastSuccessfulBuild getLastSuccessfulBuild() { return this.lastSuccessfulBuild; } public void setLastSuccessfulBuild(LastSuccessfulBuild lastSuccessfulBuild) { this.lastSuccessfulBuild = lastSuccessfulBuild; } public LastFailedBuild getLastFailedBuild() { return this.lastFailedBuild; } public void setLastFailedBuild(LastFailedBuild lastFailedBuild) { this.lastFailedBuild = lastFailedBuild; } public static class LastSuccessfulBuild { private String buildEnv; private String buildNumber; private Integer duration; private String log; private Long startTime; public String getBuildEnv() { return this.buildEnv; } public void setBuildEnv(String buildEnv) { this.buildEnv = buildEnv; } public String getBuildNumber() { return this.buildNumber; } public void setBuildNumber(String buildNumber) { this.buildNumber = buildNumber; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public String getLog() { return this.log; } public void setLog(String log) { this.log = log; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } } public static class LastFailedBuild { private String buildEnv; private String buildNumber; private Integer duration; private String log; private Long startTime; public String getBuildEnv() { return this.buildEnv; } public void setBuildEnv(String buildEnv) { this.buildEnv = buildEnv; } public String getBuildNumber() { return this.buildNumber; } public void setBuildNumber(String buildNumber) { this.buildNumber = buildNumber; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public String getLog() { return this.log; } public void setLog(String log) { this.log = log; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } } @Override public GetJobResponse getInstance(UnmarshallerContext context) { return GetJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetJobsRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetJobsRequest extends RoaAcsRequest<GetJobsResponse> { public GetJobsRequest() { super("Cds", "2017-09-25", "GetJobs", "cds"); setUriPattern("/v1/jobs"); setMethod(MethodType.GET); } private Integer start; private Integer numberPerPage; public Integer getStart() { return this.start; } public void setStart(Integer start) { this.start = start; if(start != null){ putQueryParameter("Start", start.toString()); } } public Integer getNumberPerPage() { return this.numberPerPage; } public void setNumberPerPage(Integer numberPerPage) { this.numberPerPage = numberPerPage; if(numberPerPage != null){ putQueryParameter("NumberPerPage", numberPerPage.toString()); } } @Override public Class<GetJobsResponse> getResponseClass() { return GetJobsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/GetJobsResponse.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.cds.model.v20170925; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.GetJobsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetJobsResponse extends AcsResponse { private String requestId; private List<Job> jobs; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Job> getJobs() { return this.jobs; } public void setJobs(List<Job> jobs) { this.jobs = jobs; } public static class Job { private String jobName; private Float successRate; private Integer totalBuilds; private LastFailedBuild lastFailedBuild; private LastSuccessfulBuild lastSuccessfulBuild; public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; } public Float getSuccessRate() { return this.successRate; } public void setSuccessRate(Float successRate) { this.successRate = successRate; } public Integer getTotalBuilds() { return this.totalBuilds; } public void setTotalBuilds(Integer totalBuilds) { this.totalBuilds = totalBuilds; } public LastFailedBuild getLastFailedBuild() { return this.lastFailedBuild; } public void setLastFailedBuild(LastFailedBuild lastFailedBuild) { this.lastFailedBuild = lastFailedBuild; } public LastSuccessfulBuild getLastSuccessfulBuild() { return this.lastSuccessfulBuild; } public void setLastSuccessfulBuild(LastSuccessfulBuild lastSuccessfulBuild) { this.lastSuccessfulBuild = lastSuccessfulBuild; } public static class LastFailedBuild { private String buildNumber; private Long duration; private Long startTime; private String log; private String buildEnv; public String getBuildNumber() { return this.buildNumber; } public void setBuildNumber(String buildNumber) { this.buildNumber = buildNumber; } public Long getDuration() { return this.duration; } public void setDuration(Long duration) { this.duration = duration; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public String getLog() { return this.log; } public void setLog(String log) { this.log = log; } public String getBuildEnv() { return this.buildEnv; } public void setBuildEnv(String buildEnv) { this.buildEnv = buildEnv; } } public static class LastSuccessfulBuild { private Integer buildNumber; private Integer duration; private Long startTime; private String log; private String buildEnv; public Integer getBuildNumber() { return this.buildNumber; } public void setBuildNumber(Integer buildNumber) { this.buildNumber = buildNumber; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public String getLog() { return this.log; } public void setLog(String log) { this.log = log; } public String getBuildEnv() { return this.buildEnv; } public void setBuildEnv(String buildEnv) { this.buildEnv = buildEnv; } } } @Override public GetJobsResponse getInstance(UnmarshallerContext context) { return GetJobsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/RunJobRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class RunJobRequest extends RoaAcsRequest<RunJobResponse> { public RunJobRequest() { super("Cds", "2017-09-25", "RunJob", "cds"); setUriPattern("/v1/job/[JobName]/run"); setMethod(MethodType.POST); } private String jobName; public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<RunJobResponse> getResponseClass() { return RunJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/RunJobResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.RunJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RunJobResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public RunJobResponse getInstance(UnmarshallerContext context) { return RunJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/StopBuildRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class StopBuildRequest extends RoaAcsRequest<StopBuildResponse> { public StopBuildRequest() { super("Cds", "2017-09-25", "StopBuild", "cds"); setUriPattern("/v1/job/[JobName]/build/[BuildNumber]/stop"); setMethod(MethodType.POST); } private Integer buildNumber; private String jobName; public Integer getBuildNumber() { return this.buildNumber; } public void setBuildNumber(Integer buildNumber) { this.buildNumber = buildNumber; if(buildNumber != null){ putPathParameter("BuildNumber", buildNumber.toString()); } } public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putPathParameter("JobName", jobName); } } @Override public Class<StopBuildResponse> getResponseClass() { return StopBuildResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/StopBuildResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.StopBuildResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class StopBuildResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public StopBuildResponse getInstance(UnmarshallerContext context) { return StopBuildResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/UpdateCredentialRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class UpdateCredentialRequest extends RoaAcsRequest<UpdateCredentialResponse> { public UpdateCredentialRequest() { super("Cds", "2017-09-25", "UpdateCredential", "cds"); setUriPattern("/v1/credential/update"); setMethod(MethodType.POST); } private String credentialType; private String jsonContent; private String credentialId; public String getCredentialType() { return this.credentialType; } public void setCredentialType(String credentialType) { this.credentialType = credentialType; if(credentialType != null){ putQueryParameter("CredentialType", credentialType); } } public String getJsonContent() { return this.jsonContent; } public void setJsonContent(String jsonContent) { this.jsonContent = jsonContent; if(jsonContent != null){ putQueryParameter("JsonContent", jsonContent); } } public String getCredentialId() { return this.credentialId; } public void setCredentialId(String credentialId) { this.credentialId = credentialId; if(credentialId != null){ putQueryParameter("CredentialId", credentialId); } } @Override public Class<UpdateCredentialResponse> getResponseClass() { return UpdateCredentialResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/UpdateCredentialResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.UpdateCredentialResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateCredentialResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UpdateCredentialResponse getInstance(UnmarshallerContext context) { return UpdateCredentialResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/UpdateJobRequest.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.cds.model.v20170925; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class UpdateJobRequest extends RoaAcsRequest<UpdateJobResponse> { public UpdateJobRequest() { super("Cds", "2017-09-25", "UpdateJob", "cds"); setUriPattern("/v1/job/update"); setMethod(MethodType.POST); } private String jsonContent; private String jobName; public String getJsonContent() { return this.jsonContent; } public void setJsonContent(String jsonContent) { this.jsonContent = jsonContent; if(jsonContent != null){ putQueryParameter("JsonContent", jsonContent); } } public String getJobName() { return this.jobName; } public void setJobName(String jobName) { this.jobName = jobName; if(jobName != null){ putQueryParameter("JobName", jobName); } } @Override public Class<UpdateJobResponse> getResponseClass() { return UpdateJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/model/v20170925/UpdateJobResponse.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.cds.model.v20170925; import com.aliyuncs.AcsResponse; import com.aliyuncs.cds.transform.v20170925.UpdateJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateJobResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UpdateJobResponse getInstance(UnmarshallerContext context) { return UpdateJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/CreateCredentialResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.CreateCredentialResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateCredentialResponseUnmarshaller { public static CreateCredentialResponse unmarshall(CreateCredentialResponse createCredentialResponse, UnmarshallerContext context) { createCredentialResponse.setRequestId(context.stringValue("CreateCredentialResponse.RequestId")); return createCredentialResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/CreateJobResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.CreateJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateJobResponseUnmarshaller { public static CreateJobResponse unmarshall(CreateJobResponse createJobResponse, UnmarshallerContext context) { createJobResponse.setRequestId(context.stringValue("CreateJobResponse.RequestId")); return createJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/DeleteBuildResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.DeleteBuildResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteBuildResponseUnmarshaller { public static DeleteBuildResponse unmarshall(DeleteBuildResponse deleteBuildResponse, UnmarshallerContext context) { deleteBuildResponse.setRequestId(context.stringValue("DeleteBuildResponse.RequestId")); return deleteBuildResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/DeleteCredentialResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.DeleteCredentialResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteCredentialResponseUnmarshaller { public static DeleteCredentialResponse unmarshall(DeleteCredentialResponse deleteCredentialResponse, UnmarshallerContext context) { deleteCredentialResponse.setRequestId(context.stringValue("DeleteCredentialResponse.RequestId")); return deleteCredentialResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/DeleteJobResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.DeleteJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteJobResponseUnmarshaller { public static DeleteJobResponse unmarshall(DeleteJobResponse deleteJobResponse, UnmarshallerContext context) { deleteJobResponse.setRequestId(context.stringValue("DeleteJobResponse.RequestId")); return deleteJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/GetBuildResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.GetBuildResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetBuildResponseUnmarshaller { public static GetBuildResponse unmarshall(GetBuildResponse getBuildResponse, UnmarshallerContext context) { getBuildResponse.setRequestId(context.stringValue("GetBuildResponse.RequestId")); getBuildResponse.setBuildEnv(context.stringValue("GetBuildResponse.BuildEnv")); getBuildResponse.setBuildNumber(context.integerValue("GetBuildResponse.BuildNumber")); getBuildResponse.setDuration(context.integerValue("GetBuildResponse.Duration")); getBuildResponse.setLog(context.stringValue("GetBuildResponse.Log")); getBuildResponse.setStartTime(context.longValue("GetBuildResponse.StartTime")); getBuildResponse.setBuildStatus(context.stringValue("GetBuildResponse.BuildStatus")); return getBuildResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/GetBuildsResponseUnmarshaller.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.cds.transform.v20170925; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cds.model.v20170925.GetBuildsResponse; import com.aliyuncs.cds.model.v20170925.GetBuildsResponse.Build; import com.aliyuncs.transform.UnmarshallerContext; public class GetBuildsResponseUnmarshaller { public static GetBuildsResponse unmarshall(GetBuildsResponse getBuildsResponse, UnmarshallerContext context) { getBuildsResponse.setRequestId(context.stringValue("GetBuildsResponse.RequestId")); List<Build> builds = new ArrayList<Build>(); for (int i = 0; i < context.lengthValue("GetBuildsResponse.Builds.Length"); i++) { Build build = new Build(); build.setBuildNumber(context.integerValue("GetBuildsResponse.Builds["+ i +"].BuildNumber")); build.setDuration(context.integerValue("GetBuildsResponse.Builds["+ i +"].Duration")); build.setStartTime(context.longValue("GetBuildsResponse.Builds["+ i +"].StartTime")); build.setLog(context.stringValue("GetBuildsResponse.Builds["+ i +"].Log")); build.setBuildEnv(context.stringValue("GetBuildsResponse.Builds["+ i +"].BuildEnv")); builds.add(build); } getBuildsResponse.setBuilds(builds); return getBuildsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/GetCredentialsResponseUnmarshaller.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.cds.transform.v20170925; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cds.model.v20170925.GetCredentialsResponse; import com.aliyuncs.cds.model.v20170925.GetCredentialsResponse.Credential; import com.aliyuncs.transform.UnmarshallerContext; public class GetCredentialsResponseUnmarshaller { public static GetCredentialsResponse unmarshall(GetCredentialsResponse getCredentialsResponse, UnmarshallerContext context) { getCredentialsResponse.setRequestId(context.stringValue("GetCredentialsResponse.RequestId")); List<Credential> credentials = new ArrayList<Credential>(); for (int i = 0; i < context.lengthValue("GetCredentialsResponse.Credentials.Length"); i++) { Credential credential = new Credential(); credential.setCredentialId(context.stringValue("GetCredentialsResponse.Credentials["+ i +"].CredentialId")); credential.setCredentialType(context.stringValue("GetCredentialsResponse.Credentials["+ i +"].CredentialType")); credentials.add(credential); } getCredentialsResponse.setCredentials(credentials); return getCredentialsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/GetJobResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.GetJobResponse; import com.aliyuncs.cds.model.v20170925.GetJobResponse.LastFailedBuild; import com.aliyuncs.cds.model.v20170925.GetJobResponse.LastSuccessfulBuild; import com.aliyuncs.transform.UnmarshallerContext; public class GetJobResponseUnmarshaller { public static GetJobResponse unmarshall(GetJobResponse getJobResponse, UnmarshallerContext context) { getJobResponse.setRequestId(context.stringValue("GetJobResponse.RequestId")); getJobResponse.setJobName(context.stringValue("GetJobResponse.JobName")); getJobResponse.setSuccessRate(context.floatValue("GetJobResponse.SuccessRate")); getJobResponse.setTotalBuilds(context.integerValue("GetJobResponse.TotalBuilds")); getJobResponse.setNextBuildNumber(context.integerValue("GetJobResponse.NextBuildNumber")); LastSuccessfulBuild lastSuccessfulBuild = new LastSuccessfulBuild(); lastSuccessfulBuild.setBuildEnv(context.stringValue("GetJobResponse.LastSuccessfulBuild.BuildEnv")); lastSuccessfulBuild.setBuildNumber(context.stringValue("GetJobResponse.LastSuccessfulBuild.BuildNumber")); lastSuccessfulBuild.setDuration(context.integerValue("GetJobResponse.LastSuccessfulBuild.Duration")); lastSuccessfulBuild.setLog(context.stringValue("GetJobResponse.LastSuccessfulBuild.Log")); lastSuccessfulBuild.setStartTime(context.longValue("GetJobResponse.LastSuccessfulBuild.StartTime")); getJobResponse.setLastSuccessfulBuild(lastSuccessfulBuild); LastFailedBuild lastFailedBuild = new LastFailedBuild(); lastFailedBuild.setBuildEnv(context.stringValue("GetJobResponse.LastFailedBuild.BuildEnv")); lastFailedBuild.setBuildNumber(context.stringValue("GetJobResponse.LastFailedBuild.BuildNumber")); lastFailedBuild.setDuration(context.integerValue("GetJobResponse.LastFailedBuild.Duration")); lastFailedBuild.setLog(context.stringValue("GetJobResponse.LastFailedBuild.Log")); lastFailedBuild.setStartTime(context.longValue("GetJobResponse.LastFailedBuild.StartTime")); getJobResponse.setLastFailedBuild(lastFailedBuild); return getJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/GetJobsResponseUnmarshaller.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.cds.transform.v20170925; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cds.model.v20170925.GetJobsResponse; import com.aliyuncs.cds.model.v20170925.GetJobsResponse.Job; import com.aliyuncs.cds.model.v20170925.GetJobsResponse.Job.LastFailedBuild; import com.aliyuncs.cds.model.v20170925.GetJobsResponse.Job.LastSuccessfulBuild; import com.aliyuncs.transform.UnmarshallerContext; public class GetJobsResponseUnmarshaller { public static GetJobsResponse unmarshall(GetJobsResponse getJobsResponse, UnmarshallerContext context) { getJobsResponse.setRequestId(context.stringValue("GetJobsResponse.RequestId")); List<Job> jobs = new ArrayList<Job>(); for (int i = 0; i < context.lengthValue("GetJobsResponse.Jobs.Length"); i++) { Job job = new Job(); job.setJobName(context.stringValue("GetJobsResponse.Jobs["+ i +"].JobName")); job.setSuccessRate(context.floatValue("GetJobsResponse.Jobs["+ i +"].SuccessRate")); job.setTotalBuilds(context.integerValue("GetJobsResponse.Jobs["+ i +"].TotalBuilds")); LastFailedBuild lastFailedBuild = new LastFailedBuild(); lastFailedBuild.setBuildNumber(context.stringValue("GetJobsResponse.Jobs["+ i +"].LastFailedBuild.BuildNumber")); lastFailedBuild.setDuration(context.longValue("GetJobsResponse.Jobs["+ i +"].LastFailedBuild.Duration")); lastFailedBuild.setStartTime(context.longValue("GetJobsResponse.Jobs["+ i +"].LastFailedBuild.StartTime")); lastFailedBuild.setLog(context.stringValue("GetJobsResponse.Jobs["+ i +"].LastFailedBuild.Log")); lastFailedBuild.setBuildEnv(context.stringValue("GetJobsResponse.Jobs["+ i +"].LastFailedBuild.BuildEnv")); job.setLastFailedBuild(lastFailedBuild); LastSuccessfulBuild lastSuccessfulBuild = new LastSuccessfulBuild(); lastSuccessfulBuild.setBuildNumber(context.integerValue("GetJobsResponse.Jobs["+ i +"].LastSuccessfulBuild.BuildNumber")); lastSuccessfulBuild.setDuration(context.integerValue("GetJobsResponse.Jobs["+ i +"].LastSuccessfulBuild.Duration")); lastSuccessfulBuild.setStartTime(context.longValue("GetJobsResponse.Jobs["+ i +"].LastSuccessfulBuild.StartTime")); lastSuccessfulBuild.setLog(context.stringValue("GetJobsResponse.Jobs["+ i +"].LastSuccessfulBuild.Log")); lastSuccessfulBuild.setBuildEnv(context.stringValue("GetJobsResponse.Jobs["+ i +"].LastSuccessfulBuild.BuildEnv")); job.setLastSuccessfulBuild(lastSuccessfulBuild); jobs.add(job); } getJobsResponse.setJobs(jobs); return getJobsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/RunJobResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.RunJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RunJobResponseUnmarshaller { public static RunJobResponse unmarshall(RunJobResponse runJobResponse, UnmarshallerContext context) { runJobResponse.setRequestId(context.stringValue("RunJobResponse.RequestId")); return runJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/StopBuildResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.StopBuildResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StopBuildResponseUnmarshaller { public static StopBuildResponse unmarshall(StopBuildResponse stopBuildResponse, UnmarshallerContext context) { stopBuildResponse.setRequestId(context.stringValue("StopBuildResponse.RequestId")); return stopBuildResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/UpdateCredentialResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.UpdateCredentialResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateCredentialResponseUnmarshaller { public static UpdateCredentialResponse unmarshall(UpdateCredentialResponse updateCredentialResponse, UnmarshallerContext context) { updateCredentialResponse.setRequestId(context.stringValue("UpdateCredentialResponse.RequestId")); return updateCredentialResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform
java-sources/com/aliyun/aliyun-java-sdk-cds/1.8.2/com/aliyuncs/cds/transform/v20170925/UpdateJobResponseUnmarshaller.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.cds.transform.v20170925; import com.aliyuncs.cds.model.v20170925.UpdateJobResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateJobResponseUnmarshaller { public static UpdateJobResponse unmarshall(UpdateJobResponse updateJobResponse, UnmarshallerContext context) { updateJobResponse.setRequestId(context.stringValue("UpdateJobResponse.RequestId")); return updateJobResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/DescribeRegionsRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DescribeRegionsRequest extends RpcAcsRequest<DescribeRegionsResponse> { private String acceptLanguage; public DescribeRegionsRequest() { super("CDT", "2021-08-13", "DescribeRegions"); setMethod(MethodType.POST); } public String getAcceptLanguage() { return this.acceptLanguage; } public void setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; if(acceptLanguage != null){ putQueryParameter("AcceptLanguage", acceptLanguage); } } @Override public Class<DescribeRegionsResponse> getResponseClass() { return DescribeRegionsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/DescribeRegionsResponse.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.cdt.model.v20210813; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.DescribeRegionsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeRegionsResponse extends AcsResponse { private String requestId; private List<RegionsItem> regions; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<RegionsItem> getRegions() { return this.regions; } public void setRegions(List<RegionsItem> regions) { this.regions = regions; } public static class RegionsItem { private String regionId; private String localName; public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getLocalName() { return this.localName; } public void setLocalName(String localName) { this.localName = localName; } } @Override public DescribeRegionsResponse getInstance(UnmarshallerContext context) { return DescribeRegionsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/GetCdtCbServiceStatusRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetCdtCbServiceStatusRequest extends RpcAcsRequest<GetCdtCbServiceStatusResponse> { private Long ownerId; public GetCdtCbServiceStatusRequest() { super("CDT", "2021-08-13", "GetCdtCbServiceStatus"); setMethod(MethodType.POST); } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<GetCdtCbServiceStatusResponse> getResponseClass() { return GetCdtCbServiceStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/GetCdtCbServiceStatusResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.GetCdtCbServiceStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetCdtCbServiceStatusResponse extends AcsResponse { private String requestId; private Boolean enabled; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getEnabled() { return this.enabled; } public void setEnabled(Boolean enabled) { this.enabled = enabled; } @Override public GetCdtCbServiceStatusResponse getInstance(UnmarshallerContext context) { return GetCdtCbServiceStatusResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/GetCdtInternetServiceStatusRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetCdtInternetServiceStatusRequest extends RpcAcsRequest<GetCdtInternetServiceStatusResponse> { private Long ownerId; public GetCdtInternetServiceStatusRequest() { super("CDT", "2021-08-13", "GetCdtInternetServiceStatus"); setMethod(MethodType.POST); } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<GetCdtInternetServiceStatusResponse> getResponseClass() { return GetCdtInternetServiceStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/GetCdtInternetServiceStatusResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.GetCdtInternetServiceStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetCdtInternetServiceStatusResponse extends AcsResponse { private String requestId; private Boolean enabled; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getEnabled() { return this.enabled; } public void setEnabled(Boolean enabled) { this.enabled = enabled; } @Override public GetCdtInternetServiceStatusResponse getInstance(UnmarshallerContext context) { return GetCdtInternetServiceStatusResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/GetCdtServiceStatusRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetCdtServiceStatusRequest extends RpcAcsRequest<GetCdtServiceStatusResponse> { private Long ownerId; public GetCdtServiceStatusRequest() { super("CDT", "2021-08-13", "GetCdtServiceStatus"); setMethod(MethodType.POST); } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<GetCdtServiceStatusResponse> getResponseClass() { return GetCdtServiceStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/GetCdtServiceStatusResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.GetCdtServiceStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetCdtServiceStatusResponse extends AcsResponse { private String requestId; private Boolean enabled; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getEnabled() { return this.enabled; } public void setEnabled(Boolean enabled) { this.enabled = enabled; } @Override public GetCdtServiceStatusResponse getInstance(UnmarshallerContext context) { return GetCdtServiceStatusResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtCrossBordTrafficRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListCdtCrossBordTrafficRequest extends RpcAcsRequest<ListCdtCrossBordTrafficResponse> { private String businessRegionId; public ListCdtCrossBordTrafficRequest() { super("CDT", "2021-08-13", "ListCdtCrossBordTraffic"); setMethod(MethodType.POST); } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; if(businessRegionId != null){ putQueryParameter("BusinessRegionId", businessRegionId); } } @Override public Class<ListCdtCrossBordTrafficResponse> getResponseClass() { return ListCdtCrossBordTrafficResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtCrossBordTrafficResponse.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.cdt.model.v20210813; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.ListCdtCrossBordTrafficResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListCdtCrossBordTrafficResponse extends AcsResponse { private String requestId; private List<TrafficDetailsItem> trafficDetails; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<TrafficDetailsItem> getTrafficDetails() { return this.trafficDetails; } public void setTrafficDetails(List<TrafficDetailsItem> trafficDetails) { this.trafficDetails = trafficDetails; } public static class TrafficDetailsItem { private String businessRegionId; private Long traffic; private List<ProductTrafficDetailsItem> productTrafficDetails; public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; } public Long getTraffic() { return this.traffic; } public void setTraffic(Long traffic) { this.traffic = traffic; } public List<ProductTrafficDetailsItem> getProductTrafficDetails() { return this.productTrafficDetails; } public void setProductTrafficDetails(List<ProductTrafficDetailsItem> productTrafficDetails) { this.productTrafficDetails = productTrafficDetails; } public static class ProductTrafficDetailsItem { private String product; private Long traffic; public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; } public Long getTraffic() { return this.traffic; } public void setTraffic(Long traffic) { this.traffic = traffic; } } } @Override public ListCdtCrossBordTrafficResponse getInstance(UnmarshallerContext context) { return ListCdtCrossBordTrafficResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtInternetTrafficRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListCdtInternetTrafficRequest extends RpcAcsRequest<ListCdtInternetTrafficResponse> { private String businessRegionId; public ListCdtInternetTrafficRequest() { super("CDT", "2021-08-13", "ListCdtInternetTraffic"); setMethod(MethodType.POST); } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; if(businessRegionId != null){ putQueryParameter("BusinessRegionId", businessRegionId); } } @Override public Class<ListCdtInternetTrafficResponse> getResponseClass() { return ListCdtInternetTrafficResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtInternetTrafficResponse.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.cdt.model.v20210813; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.ListCdtInternetTrafficResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListCdtInternetTrafficResponse extends AcsResponse { private String requestId; private List<TrafficDetailsItem> trafficDetails; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<TrafficDetailsItem> getTrafficDetails() { return this.trafficDetails; } public void setTrafficDetails(List<TrafficDetailsItem> trafficDetails) { this.trafficDetails = trafficDetails; } public static class TrafficDetailsItem { private String iSPType; private String businessRegionId; private Long traffic; private List<ProductTrafficDetailsItem> productTrafficDetails; private List<TrafficTierDetailsItem> trafficTierDetails; public String getISPType() { return this.iSPType; } public void setISPType(String iSPType) { this.iSPType = iSPType; } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; } public Long getTraffic() { return this.traffic; } public void setTraffic(Long traffic) { this.traffic = traffic; } public List<ProductTrafficDetailsItem> getProductTrafficDetails() { return this.productTrafficDetails; } public void setProductTrafficDetails(List<ProductTrafficDetailsItem> productTrafficDetails) { this.productTrafficDetails = productTrafficDetails; } public List<TrafficTierDetailsItem> getTrafficTierDetails() { return this.trafficTierDetails; } public void setTrafficTierDetails(List<TrafficTierDetailsItem> trafficTierDetails) { this.trafficTierDetails = trafficTierDetails; } public static class ProductTrafficDetailsItem { private String product; private Long traffic; public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; } public Long getTraffic() { return this.traffic; } public void setTraffic(Long traffic) { this.traffic = traffic; } } public static class TrafficTierDetailsItem { private Long tier; private Long traffic; private Long lowestTraffic; private Long highestTraffic; public Long getTier() { return this.tier; } public void setTier(Long tier) { this.tier = tier; } public Long getTraffic() { return this.traffic; } public void setTraffic(Long traffic) { this.traffic = traffic; } public Long getLowestTraffic() { return this.lowestTraffic; } public void setLowestTraffic(Long lowestTraffic) { this.lowestTraffic = lowestTraffic; } public Long getHighestTraffic() { return this.highestTraffic; } public void setHighestTraffic(Long highestTraffic) { this.highestTraffic = highestTraffic; } } } @Override public ListCdtInternetTrafficResponse getInstance(UnmarshallerContext context) { return ListCdtInternetTrafficResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtProductsRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListCdtProductsRequest extends RpcAcsRequest<ListCdtProductsResponse> { private String product; private String businessRegionId; public ListCdtProductsRequest() { super("CDT", "2021-08-13", "ListCdtProducts"); setMethod(MethodType.POST); } public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; if(product != null){ putQueryParameter("Product", product); } } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; if(businessRegionId != null){ putQueryParameter("BusinessRegionId", businessRegionId); } } @Override public Class<ListCdtProductsResponse> getResponseClass() { return ListCdtProductsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtProductsResponse.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.cdt.model.v20210813; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.ListCdtProductsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListCdtProductsResponse extends AcsResponse { private String requestId; private List<CdtProductsItem> cdtProducts; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<CdtProductsItem> getCdtProducts() { return this.cdtProducts; } public void setCdtProducts(List<CdtProductsItem> cdtProducts) { this.cdtProducts = cdtProducts; } public static class CdtProductsItem { private String product; private String businessRegionId; private String billingType; private Boolean switchedToCdt; private String cdtType; private Long effectiveTime; private Long expireTime; public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; } public String getBillingType() { return this.billingType; } public void setBillingType(String billingType) { this.billingType = billingType; } public Boolean getSwitchedToCdt() { return this.switchedToCdt; } public void setSwitchedToCdt(Boolean switchedToCdt) { this.switchedToCdt = switchedToCdt; } public String getCdtType() { return this.cdtType; } public void setCdtType(String cdtType) { this.cdtType = cdtType; } public Long getEffectiveTime() { return this.effectiveTime; } public void setEffectiveTime(Long effectiveTime) { this.effectiveTime = effectiveTime; } public Long getExpireTime() { return this.expireTime; } public void setExpireTime(Long expireTime) { this.expireTime = expireTime; } } @Override public ListCdtProductsResponse getInstance(UnmarshallerContext context) { return ListCdtProductsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtTrafficTiersRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListCdtTrafficTiersRequest extends RpcAcsRequest<ListCdtTrafficTiersResponse> { private String businessRegionId; public ListCdtTrafficTiersRequest() { super("CDT", "2021-08-13", "ListCdtTrafficTiers"); setMethod(MethodType.POST); } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; if(businessRegionId != null){ putQueryParameter("BusinessRegionId", businessRegionId); } } @Override public Class<ListCdtTrafficTiersResponse> getResponseClass() { return ListCdtTrafficTiersResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListCdtTrafficTiersResponse.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.cdt.model.v20210813; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.ListCdtTrafficTiersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListCdtTrafficTiersResponse extends AcsResponse { private String requestId; private List<TrafficTiersItem> trafficTiers; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<TrafficTiersItem> getTrafficTiers() { return this.trafficTiers; } public void setTrafficTiers(List<TrafficTiersItem> trafficTiers) { this.trafficTiers = trafficTiers; } public static class TrafficTiersItem { private Long lowestTraffic; private Long highestTraffic; private Long tier; public Long getLowestTraffic() { return this.lowestTraffic; } public void setLowestTraffic(Long lowestTraffic) { this.lowestTraffic = lowestTraffic; } public Long getHighestTraffic() { return this.highestTraffic; } public void setHighestTraffic(Long highestTraffic) { this.highestTraffic = highestTraffic; } public Long getTier() { return this.tier; } public void setTier(Long tier) { this.tier = tier; } } @Override public ListCdtTrafficTiersResponse getInstance(UnmarshallerContext context) { return ListCdtTrafficTiersResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListSwitchedCdtProductsRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListSwitchedCdtProductsRequest extends RpcAcsRequest<ListSwitchedCdtProductsResponse> { private String product; private String businessRegionId; public ListSwitchedCdtProductsRequest() { super("CDT", "2021-08-13", "ListSwitchedCdtProducts"); setMethod(MethodType.POST); } public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; if(product != null){ putQueryParameter("Product", product); } } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; if(businessRegionId != null){ putQueryParameter("BusinessRegionId", businessRegionId); } } @Override public Class<ListSwitchedCdtProductsResponse> getResponseClass() { return ListSwitchedCdtProductsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/ListSwitchedCdtProductsResponse.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.cdt.model.v20210813; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.ListSwitchedCdtProductsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListSwitchedCdtProductsResponse extends AcsResponse { private String requestId; private List<CdtProductsItem> cdtProducts; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<CdtProductsItem> getCdtProducts() { return this.cdtProducts; } public void setCdtProducts(List<CdtProductsItem> cdtProducts) { this.cdtProducts = cdtProducts; } public static class CdtProductsItem { private String product; private String businessRegionId; private String billingType; private String cdtType; private Long effectiveTime; private Long expireTime; public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; } public String getBillingType() { return this.billingType; } public void setBillingType(String billingType) { this.billingType = billingType; } public String getCdtType() { return this.cdtType; } public void setCdtType(String cdtType) { this.cdtType = cdtType; } public Long getEffectiveTime() { return this.effectiveTime; } public void setEffectiveTime(Long effectiveTime) { this.effectiveTime = effectiveTime; } public Long getExpireTime() { return this.expireTime; } public void setExpireTime(Long expireTime) { this.expireTime = expireTime; } } @Override public ListSwitchedCdtProductsResponse getInstance(UnmarshallerContext context) { return ListSwitchedCdtProductsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/OpenCdtCbServiceRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class OpenCdtCbServiceRequest extends RpcAcsRequest<OpenCdtCbServiceResponse> { private Long ownerId; public OpenCdtCbServiceRequest() { super("CDT", "2021-08-13", "OpenCdtCbService"); setMethod(MethodType.POST); } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<OpenCdtCbServiceResponse> getResponseClass() { return OpenCdtCbServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/OpenCdtCbServiceResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.OpenCdtCbServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OpenCdtCbServiceResponse extends AcsResponse { private String requestId; private String orderId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } @Override public OpenCdtCbServiceResponse getInstance(UnmarshallerContext context) { return OpenCdtCbServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/OpenCdtInternetServiceRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class OpenCdtInternetServiceRequest extends RpcAcsRequest<OpenCdtInternetServiceResponse> { private Long ownerId; public OpenCdtInternetServiceRequest() { super("CDT", "2021-08-13", "OpenCdtInternetService"); setMethod(MethodType.POST); } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<OpenCdtInternetServiceResponse> getResponseClass() { return OpenCdtInternetServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/OpenCdtInternetServiceResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.OpenCdtInternetServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OpenCdtInternetServiceResponse extends AcsResponse { private String requestId; private Long orderId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Long getOrderId() { return this.orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } @Override public OpenCdtInternetServiceResponse getInstance(UnmarshallerContext context) { return OpenCdtInternetServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/OpenCdtServiceRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class OpenCdtServiceRequest extends RpcAcsRequest<OpenCdtServiceResponse> { private Long ownerId; public OpenCdtServiceRequest() { super("CDT", "2021-08-13", "OpenCdtService"); setMethod(MethodType.POST); } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<OpenCdtServiceResponse> getResponseClass() { return OpenCdtServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/OpenCdtServiceResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.OpenCdtServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OpenCdtServiceResponse extends AcsResponse { private String requestId; private String orderId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } @Override public OpenCdtServiceResponse getInstance(UnmarshallerContext context) { return OpenCdtServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/SwitchToCdtRequest.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.cdt.model.v20210813; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class SwitchToCdtRequest extends RpcAcsRequest<SwitchToCdtResponse> { private String product; private String businessRegionId; private String billingType; public SwitchToCdtRequest() { super("CDT", "2021-08-13", "SwitchToCdt"); setMethod(MethodType.POST); } public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; if(product != null){ putQueryParameter("Product", product); } } public String getBusinessRegionId() { return this.businessRegionId; } public void setBusinessRegionId(String businessRegionId) { this.businessRegionId = businessRegionId; if(businessRegionId != null){ putQueryParameter("BusinessRegionId", businessRegionId); } } public String getBillingType() { return this.billingType; } public void setBillingType(String billingType) { this.billingType = billingType; if(billingType != null){ putQueryParameter("BillingType", billingType); } } @Override public Class<SwitchToCdtResponse> getResponseClass() { return SwitchToCdtResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/model/v20210813/SwitchToCdtResponse.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.cdt.model.v20210813; import com.aliyuncs.AcsResponse; import com.aliyuncs.cdt.transform.v20210813.SwitchToCdtResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SwitchToCdtResponse extends AcsResponse { private String requestId; private Long effectiveTime; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Long getEffectiveTime() { return this.effectiveTime; } public void setEffectiveTime(Long effectiveTime) { this.effectiveTime = effectiveTime; } @Override public SwitchToCdtResponse getInstance(UnmarshallerContext context) { return SwitchToCdtResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/DescribeRegionsResponseUnmarshaller.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.cdt.transform.v20210813; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdt.model.v20210813.DescribeRegionsResponse; import com.aliyuncs.cdt.model.v20210813.DescribeRegionsResponse.RegionsItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeRegionsResponseUnmarshaller { public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) { describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId")); List<RegionsItem> regions = new ArrayList<RegionsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) { RegionsItem regionsItem = new RegionsItem(); regionsItem.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId")); regionsItem.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName")); regions.add(regionsItem); } describeRegionsResponse.setRegions(regions); return describeRegionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/GetCdtCbServiceStatusResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.GetCdtCbServiceStatusResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetCdtCbServiceStatusResponseUnmarshaller { public static GetCdtCbServiceStatusResponse unmarshall(GetCdtCbServiceStatusResponse getCdtCbServiceStatusResponse, UnmarshallerContext _ctx) { getCdtCbServiceStatusResponse.setRequestId(_ctx.stringValue("GetCdtCbServiceStatusResponse.RequestId")); getCdtCbServiceStatusResponse.setEnabled(_ctx.booleanValue("GetCdtCbServiceStatusResponse.Enabled")); return getCdtCbServiceStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/GetCdtInternetServiceStatusResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.GetCdtInternetServiceStatusResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetCdtInternetServiceStatusResponseUnmarshaller { public static GetCdtInternetServiceStatusResponse unmarshall(GetCdtInternetServiceStatusResponse getCdtInternetServiceStatusResponse, UnmarshallerContext _ctx) { getCdtInternetServiceStatusResponse.setRequestId(_ctx.stringValue("GetCdtInternetServiceStatusResponse.RequestId")); getCdtInternetServiceStatusResponse.setEnabled(_ctx.booleanValue("GetCdtInternetServiceStatusResponse.Enabled")); return getCdtInternetServiceStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/GetCdtServiceStatusResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.GetCdtServiceStatusResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetCdtServiceStatusResponseUnmarshaller { public static GetCdtServiceStatusResponse unmarshall(GetCdtServiceStatusResponse getCdtServiceStatusResponse, UnmarshallerContext _ctx) { getCdtServiceStatusResponse.setRequestId(_ctx.stringValue("GetCdtServiceStatusResponse.RequestId")); getCdtServiceStatusResponse.setEnabled(_ctx.booleanValue("GetCdtServiceStatusResponse.Enabled")); return getCdtServiceStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/ListCdtCrossBordTrafficResponseUnmarshaller.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.cdt.transform.v20210813; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdt.model.v20210813.ListCdtCrossBordTrafficResponse; import com.aliyuncs.cdt.model.v20210813.ListCdtCrossBordTrafficResponse.TrafficDetailsItem; import com.aliyuncs.cdt.model.v20210813.ListCdtCrossBordTrafficResponse.TrafficDetailsItem.ProductTrafficDetailsItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListCdtCrossBordTrafficResponseUnmarshaller { public static ListCdtCrossBordTrafficResponse unmarshall(ListCdtCrossBordTrafficResponse listCdtCrossBordTrafficResponse, UnmarshallerContext _ctx) { listCdtCrossBordTrafficResponse.setRequestId(_ctx.stringValue("ListCdtCrossBordTrafficResponse.RequestId")); List<TrafficDetailsItem> trafficDetails = new ArrayList<TrafficDetailsItem>(); for (int i = 0; i < _ctx.lengthValue("ListCdtCrossBordTrafficResponse.TrafficDetails.Length"); i++) { TrafficDetailsItem trafficDetailsItem = new TrafficDetailsItem(); trafficDetailsItem.setBusinessRegionId(_ctx.stringValue("ListCdtCrossBordTrafficResponse.TrafficDetails["+ i +"].BusinessRegionId")); trafficDetailsItem.setTraffic(_ctx.longValue("ListCdtCrossBordTrafficResponse.TrafficDetails["+ i +"].Traffic")); List<ProductTrafficDetailsItem> productTrafficDetails = new ArrayList<ProductTrafficDetailsItem>(); for (int j = 0; j < _ctx.lengthValue("ListCdtCrossBordTrafficResponse.TrafficDetails["+ i +"].ProductTrafficDetails.Length"); j++) { ProductTrafficDetailsItem productTrafficDetailsItem = new ProductTrafficDetailsItem(); productTrafficDetailsItem.setProduct(_ctx.stringValue("ListCdtCrossBordTrafficResponse.TrafficDetails["+ i +"].ProductTrafficDetails["+ j +"].Product")); productTrafficDetailsItem.setTraffic(_ctx.longValue("ListCdtCrossBordTrafficResponse.TrafficDetails["+ i +"].ProductTrafficDetails["+ j +"].Traffic")); productTrafficDetails.add(productTrafficDetailsItem); } trafficDetailsItem.setProductTrafficDetails(productTrafficDetails); trafficDetails.add(trafficDetailsItem); } listCdtCrossBordTrafficResponse.setTrafficDetails(trafficDetails); return listCdtCrossBordTrafficResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/ListCdtInternetTrafficResponseUnmarshaller.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.cdt.transform.v20210813; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdt.model.v20210813.ListCdtInternetTrafficResponse; import com.aliyuncs.cdt.model.v20210813.ListCdtInternetTrafficResponse.TrafficDetailsItem; import com.aliyuncs.cdt.model.v20210813.ListCdtInternetTrafficResponse.TrafficDetailsItem.ProductTrafficDetailsItem; import com.aliyuncs.cdt.model.v20210813.ListCdtInternetTrafficResponse.TrafficDetailsItem.TrafficTierDetailsItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListCdtInternetTrafficResponseUnmarshaller { public static ListCdtInternetTrafficResponse unmarshall(ListCdtInternetTrafficResponse listCdtInternetTrafficResponse, UnmarshallerContext _ctx) { listCdtInternetTrafficResponse.setRequestId(_ctx.stringValue("ListCdtInternetTrafficResponse.RequestId")); List<TrafficDetailsItem> trafficDetails = new ArrayList<TrafficDetailsItem>(); for (int i = 0; i < _ctx.lengthValue("ListCdtInternetTrafficResponse.TrafficDetails.Length"); i++) { TrafficDetailsItem trafficDetailsItem = new TrafficDetailsItem(); trafficDetailsItem.setISPType(_ctx.stringValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].ISPType")); trafficDetailsItem.setBusinessRegionId(_ctx.stringValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].BusinessRegionId")); trafficDetailsItem.setTraffic(_ctx.longValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].Traffic")); List<ProductTrafficDetailsItem> productTrafficDetails = new ArrayList<ProductTrafficDetailsItem>(); for (int j = 0; j < _ctx.lengthValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].ProductTrafficDetails.Length"); j++) { ProductTrafficDetailsItem productTrafficDetailsItem = new ProductTrafficDetailsItem(); productTrafficDetailsItem.setProduct(_ctx.stringValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].ProductTrafficDetails["+ j +"].Product")); productTrafficDetailsItem.setTraffic(_ctx.longValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].ProductTrafficDetails["+ j +"].Traffic")); productTrafficDetails.add(productTrafficDetailsItem); } trafficDetailsItem.setProductTrafficDetails(productTrafficDetails); List<TrafficTierDetailsItem> trafficTierDetails = new ArrayList<TrafficTierDetailsItem>(); for (int j = 0; j < _ctx.lengthValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].TrafficTierDetails.Length"); j++) { TrafficTierDetailsItem trafficTierDetailsItem = new TrafficTierDetailsItem(); trafficTierDetailsItem.setTier(_ctx.longValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].TrafficTierDetails["+ j +"].Tier")); trafficTierDetailsItem.setTraffic(_ctx.longValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].TrafficTierDetails["+ j +"].Traffic")); trafficTierDetailsItem.setLowestTraffic(_ctx.longValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].TrafficTierDetails["+ j +"].LowestTraffic")); trafficTierDetailsItem.setHighestTraffic(_ctx.longValue("ListCdtInternetTrafficResponse.TrafficDetails["+ i +"].TrafficTierDetails["+ j +"].HighestTraffic")); trafficTierDetails.add(trafficTierDetailsItem); } trafficDetailsItem.setTrafficTierDetails(trafficTierDetails); trafficDetails.add(trafficDetailsItem); } listCdtInternetTrafficResponse.setTrafficDetails(trafficDetails); return listCdtInternetTrafficResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/ListCdtProductsResponseUnmarshaller.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.cdt.transform.v20210813; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdt.model.v20210813.ListCdtProductsResponse; import com.aliyuncs.cdt.model.v20210813.ListCdtProductsResponse.CdtProductsItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListCdtProductsResponseUnmarshaller { public static ListCdtProductsResponse unmarshall(ListCdtProductsResponse listCdtProductsResponse, UnmarshallerContext _ctx) { listCdtProductsResponse.setRequestId(_ctx.stringValue("ListCdtProductsResponse.RequestId")); List<CdtProductsItem> cdtProducts = new ArrayList<CdtProductsItem>(); for (int i = 0; i < _ctx.lengthValue("ListCdtProductsResponse.CdtProducts.Length"); i++) { CdtProductsItem cdtProductsItem = new CdtProductsItem(); cdtProductsItem.setProduct(_ctx.stringValue("ListCdtProductsResponse.CdtProducts["+ i +"].Product")); cdtProductsItem.setBusinessRegionId(_ctx.stringValue("ListCdtProductsResponse.CdtProducts["+ i +"].BusinessRegionId")); cdtProductsItem.setBillingType(_ctx.stringValue("ListCdtProductsResponse.CdtProducts["+ i +"].BillingType")); cdtProductsItem.setSwitchedToCdt(_ctx.booleanValue("ListCdtProductsResponse.CdtProducts["+ i +"].SwitchedToCdt")); cdtProductsItem.setCdtType(_ctx.stringValue("ListCdtProductsResponse.CdtProducts["+ i +"].CdtType")); cdtProductsItem.setEffectiveTime(_ctx.longValue("ListCdtProductsResponse.CdtProducts["+ i +"].EffectiveTime")); cdtProductsItem.setExpireTime(_ctx.longValue("ListCdtProductsResponse.CdtProducts["+ i +"].ExpireTime")); cdtProducts.add(cdtProductsItem); } listCdtProductsResponse.setCdtProducts(cdtProducts); return listCdtProductsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/ListCdtTrafficTiersResponseUnmarshaller.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.cdt.transform.v20210813; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdt.model.v20210813.ListCdtTrafficTiersResponse; import com.aliyuncs.cdt.model.v20210813.ListCdtTrafficTiersResponse.TrafficTiersItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListCdtTrafficTiersResponseUnmarshaller { public static ListCdtTrafficTiersResponse unmarshall(ListCdtTrafficTiersResponse listCdtTrafficTiersResponse, UnmarshallerContext _ctx) { listCdtTrafficTiersResponse.setRequestId(_ctx.stringValue("ListCdtTrafficTiersResponse.RequestId")); List<TrafficTiersItem> trafficTiers = new ArrayList<TrafficTiersItem>(); for (int i = 0; i < _ctx.lengthValue("ListCdtTrafficTiersResponse.TrafficTiers.Length"); i++) { TrafficTiersItem trafficTiersItem = new TrafficTiersItem(); trafficTiersItem.setLowestTraffic(_ctx.longValue("ListCdtTrafficTiersResponse.TrafficTiers["+ i +"].LowestTraffic")); trafficTiersItem.setHighestTraffic(_ctx.longValue("ListCdtTrafficTiersResponse.TrafficTiers["+ i +"].HighestTraffic")); trafficTiersItem.setTier(_ctx.longValue("ListCdtTrafficTiersResponse.TrafficTiers["+ i +"].Tier")); trafficTiers.add(trafficTiersItem); } listCdtTrafficTiersResponse.setTrafficTiers(trafficTiers); return listCdtTrafficTiersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/ListSwitchedCdtProductsResponseUnmarshaller.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.cdt.transform.v20210813; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cdt.model.v20210813.ListSwitchedCdtProductsResponse; import com.aliyuncs.cdt.model.v20210813.ListSwitchedCdtProductsResponse.CdtProductsItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListSwitchedCdtProductsResponseUnmarshaller { public static ListSwitchedCdtProductsResponse unmarshall(ListSwitchedCdtProductsResponse listSwitchedCdtProductsResponse, UnmarshallerContext _ctx) { listSwitchedCdtProductsResponse.setRequestId(_ctx.stringValue("ListSwitchedCdtProductsResponse.RequestId")); List<CdtProductsItem> cdtProducts = new ArrayList<CdtProductsItem>(); for (int i = 0; i < _ctx.lengthValue("ListSwitchedCdtProductsResponse.CdtProducts.Length"); i++) { CdtProductsItem cdtProductsItem = new CdtProductsItem(); cdtProductsItem.setProduct(_ctx.stringValue("ListSwitchedCdtProductsResponse.CdtProducts["+ i +"].Product")); cdtProductsItem.setBusinessRegionId(_ctx.stringValue("ListSwitchedCdtProductsResponse.CdtProducts["+ i +"].BusinessRegionId")); cdtProductsItem.setBillingType(_ctx.stringValue("ListSwitchedCdtProductsResponse.CdtProducts["+ i +"].BillingType")); cdtProductsItem.setCdtType(_ctx.stringValue("ListSwitchedCdtProductsResponse.CdtProducts["+ i +"].CdtType")); cdtProductsItem.setEffectiveTime(_ctx.longValue("ListSwitchedCdtProductsResponse.CdtProducts["+ i +"].EffectiveTime")); cdtProductsItem.setExpireTime(_ctx.longValue("ListSwitchedCdtProductsResponse.CdtProducts["+ i +"].ExpireTime")); cdtProducts.add(cdtProductsItem); } listSwitchedCdtProductsResponse.setCdtProducts(cdtProducts); return listSwitchedCdtProductsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/OpenCdtCbServiceResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.OpenCdtCbServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OpenCdtCbServiceResponseUnmarshaller { public static OpenCdtCbServiceResponse unmarshall(OpenCdtCbServiceResponse openCdtCbServiceResponse, UnmarshallerContext _ctx) { openCdtCbServiceResponse.setRequestId(_ctx.stringValue("OpenCdtCbServiceResponse.RequestId")); openCdtCbServiceResponse.setOrderId(_ctx.stringValue("OpenCdtCbServiceResponse.OrderId")); return openCdtCbServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/OpenCdtInternetServiceResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.OpenCdtInternetServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OpenCdtInternetServiceResponseUnmarshaller { public static OpenCdtInternetServiceResponse unmarshall(OpenCdtInternetServiceResponse openCdtInternetServiceResponse, UnmarshallerContext _ctx) { openCdtInternetServiceResponse.setRequestId(_ctx.stringValue("OpenCdtInternetServiceResponse.RequestId")); openCdtInternetServiceResponse.setOrderId(_ctx.longValue("OpenCdtInternetServiceResponse.OrderId")); return openCdtInternetServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/OpenCdtServiceResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.OpenCdtServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OpenCdtServiceResponseUnmarshaller { public static OpenCdtServiceResponse unmarshall(OpenCdtServiceResponse openCdtServiceResponse, UnmarshallerContext _ctx) { openCdtServiceResponse.setRequestId(_ctx.stringValue("OpenCdtServiceResponse.RequestId")); openCdtServiceResponse.setOrderId(_ctx.stringValue("OpenCdtServiceResponse.OrderId")); return openCdtServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform
java-sources/com/aliyun/aliyun-java-sdk-cdt/1.0.0/com/aliyuncs/cdt/transform/v20210813/SwitchToCdtResponseUnmarshaller.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.cdt.transform.v20210813; import com.aliyuncs.cdt.model.v20210813.SwitchToCdtResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SwitchToCdtResponseUnmarshaller { public static SwitchToCdtResponse unmarshall(SwitchToCdtResponse switchToCdtResponse, UnmarshallerContext _ctx) { switchToCdtResponse.setRequestId(_ctx.stringValue("SwitchToCdtResponse.RequestId")); switchToCdtResponse.setEffectiveTime(_ctx.longValue("SwitchToCdtResponse.EffectiveTime")); return switchToCdtResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/AuthenticateRequest.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.cf.model.v20151127; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.ProtocolType; /** * @author auto create * @version */ public class AuthenticateRequest extends RpcAcsRequest<AuthenticateResponse> { public AuthenticateRequest() { super("CF", "2015-11-27", "Authenticate", "cf"); setProtocol(ProtocolType.HTTPS); } private String sig; private String remoteIp; private String serno; private String sceneId; private String appKey; private String sessionId; private String token; public String getSig() { return this.sig; } public void setSig(String sig) { this.sig = sig; if(sig != null){ putQueryParameter("Sig", sig); } } public String getRemoteIp() { return this.remoteIp; } public void setRemoteIp(String remoteIp) { this.remoteIp = remoteIp; if(remoteIp != null){ putQueryParameter("RemoteIp", remoteIp); } } public String getSerno() { return this.serno; } public void setSerno(String serno) { this.serno = serno; if(serno != null){ putQueryParameter("Serno", serno); } } public String getSceneId() { return this.sceneId; } public void setSceneId(String sceneId) { this.sceneId = sceneId; if(sceneId != null){ putQueryParameter("SceneId", sceneId); } } public String getAppKey() { return this.appKey; } public void setAppKey(String appKey) { this.appKey = appKey; if(appKey != null){ putQueryParameter("AppKey", appKey); } } public String getSessionId() { return this.sessionId; } public void setSessionId(String sessionId) { this.sessionId = sessionId; if(sessionId != null){ putQueryParameter("SessionId", sessionId); } } public String getToken() { return this.token; } public void setToken(String token) { this.token = token; if(token != null){ putQueryParameter("Token", token); } } @Override public Class<AuthenticateResponse> getResponseClass() { return AuthenticateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/AuthenticateResponse.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.cf.model.v20151127; import com.aliyuncs.AcsResponse; import com.aliyuncs.cf.transform.v20151127.AuthenticateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AuthenticateResponse extends AcsResponse { private String requestId; private Boolean success; private String msg; private Integer code; private SigAuthenticateResult sigAuthenticateResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public SigAuthenticateResult getSigAuthenticateResult() { return this.sigAuthenticateResult; } public void setSigAuthenticateResult(SigAuthenticateResult sigAuthenticateResult) { this.sigAuthenticateResult = sigAuthenticateResult; } public static class SigAuthenticateResult { private Long timestamp; private Integer code; private String msg; private String risklevel; public Long getTimestamp() { return this.timestamp; } public void setTimestamp(Long timestamp) { this.timestamp = timestamp; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public String getRisklevel() { return this.risklevel; } public void setRisklevel(String risklevel) { this.risklevel = risklevel; } } @Override public AuthenticateResponse getInstance(UnmarshallerContext context) { return AuthenticateResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/CFMonthlyPaymentRequest.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.cf.model.v20151127; import com.aliyuncs.RpcAcsRequest; /** * @author auto create * @version */ public class CFMonthlyPaymentRequest extends RpcAcsRequest<CFMonthlyPaymentResponse> { public CFMonthlyPaymentRequest() { super("CF", "2015-11-27", "CFMonthlyPayment", "cf"); } private String data; public String getData() { return this.data; } public void setData(String data) { this.data = data; if(data != null){ putQueryParameter("data", data); } } @Override public Class<CFMonthlyPaymentResponse> getResponseClass() { return CFMonthlyPaymentResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/CFMonthlyPaymentResponse.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.cf.model.v20151127; import com.aliyuncs.AcsResponse; import com.aliyuncs.cf.transform.v20151127.CFMonthlyPaymentResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CFMonthlyPaymentResponse extends AcsResponse { private String requestId; private Boolean data; private String code; private Boolean success; private String message; private Boolean synchro; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getSynchro() { return this.synchro; } public void setSynchro(Boolean synchro) { this.synchro = synchro; } @Override public CFMonthlyPaymentResponse getInstance(UnmarshallerContext context) { return CFMonthlyPaymentResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/CfAccountFeedbackRequest.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.cf.model.v20151127; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.ProtocolType; /** * @author auto create * @version */ public class CfAccountFeedbackRequest extends RpcAcsRequest<CfAccountFeedbackResponse> { public CfAccountFeedbackRequest() { super("CF", "2015-11-27", "CfAccountFeedback", "cf"); setProtocol(ProtocolType.HTTPS); } private String eventId; private Integer userFeedback; private String aliDecision; private String customerDecision; private String denyReason; private String appToken; private String appKey; private String cFTimestamp; public String getEventId() { return this.eventId; } public void setEventId(String eventId) { this.eventId = eventId; if(eventId != null){ putQueryParameter("EventId", eventId); } } public Integer getUserFeedback() { return this.userFeedback; } public void setUserFeedback(Integer userFeedback) { this.userFeedback = userFeedback; if(userFeedback != null){ putQueryParameter("UserFeedback", userFeedback.toString()); } } public String getAliDecision() { return this.aliDecision; } public void setAliDecision(String aliDecision) { this.aliDecision = aliDecision; if(aliDecision != null){ putQueryParameter("AliDecision", aliDecision); } } public String getCustomerDecision() { return this.customerDecision; } public void setCustomerDecision(String customerDecision) { this.customerDecision = customerDecision; if(customerDecision != null){ putQueryParameter("CustomerDecision", customerDecision); } } public String getDenyReason() { return this.denyReason; } public void setDenyReason(String denyReason) { this.denyReason = denyReason; if(denyReason != null){ putQueryParameter("DenyReason", denyReason); } } public String getAppToken() { return this.appToken; } public void setAppToken(String appToken) { this.appToken = appToken; if(appToken != null){ putQueryParameter("AppToken", appToken); } } public String getAppKey() { return this.appKey; } public void setAppKey(String appKey) { this.appKey = appKey; if(appKey != null){ putQueryParameter("AppKey", appKey); } } public String getCFTimestamp() { return this.cFTimestamp; } public void setCFTimestamp(String cFTimestamp) { this.cFTimestamp = cFTimestamp; if(cFTimestamp != null){ putQueryParameter("CFTimestamp", cFTimestamp); } } @Override public Class<CfAccountFeedbackResponse> getResponseClass() { return CfAccountFeedbackResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/CfAccountFeedbackResponse.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.cf.model.v20151127; import com.aliyuncs.AcsResponse; import com.aliyuncs.cf.transform.v20151127.CfAccountFeedbackResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CfAccountFeedbackResponse extends AcsResponse { private String requestId; private Boolean success; private String message; private String detailMessage; private AccountFeedbackResponse accountFeedbackResponse; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getDetailMessage() { return this.detailMessage; } public void setDetailMessage(String detailMessage) { this.detailMessage = detailMessage; } public AccountFeedbackResponse getAccountFeedbackResponse() { return this.accountFeedbackResponse; } public void setAccountFeedbackResponse(AccountFeedbackResponse accountFeedbackResponse) { this.accountFeedbackResponse = accountFeedbackResponse; } public static class AccountFeedbackResponse { private Integer errorCode; private String errorMessage; public Integer getErrorCode() { return this.errorCode; } public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } public String getErrorMessage() { return this.errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } } @Override public CfAccountFeedbackResponse getInstance(UnmarshallerContext context) { return CfAccountFeedbackResponseUnmarshaller.unmarshall(this, context); } }