Skip to content

Commit

Permalink
Account management add SourceBiz parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 19, 2024
1 parent 07c982f commit 5823c1a
Show file tree
Hide file tree
Showing 59 changed files with 5,744 additions and 68 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-07-19 Version: 2.20.8
- Account management add SourceBiz parameters.

2024-07-19 Version: 0.0.12
- Update SegmentCloth.

Expand Down
1 change: 0 additions & 1 deletion aliyun-net-sdk-r-kvstore/R_kvstore/Endpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public class Endpoint
{ "cn-shanghai-et2-b01", "r-kvstore.aliyuncs.com" },
{ "cn-guangzhou", "r-kvstore.aliyuncs.com" },
{ "cn-hangzhou-finance", "r-kvstore.aliyuncs.com" },
{ "ap-southeast-1", "r-kvstore.aliyuncs.com" },
{ "cn-beijing-nu16-b01", "r-kvstore.aliyuncs.com" },
{ "cn-edge-1", "r-kvstore.aliyuncs.com" },
{ "cn-fujian", "r-kvstore.aliyuncs.com" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public CreateAccountRequest()

private string securityToken;

private string sourceBiz;

private string resourceOwnerAccount;

private string ownerAccount;
Expand Down Expand Up @@ -140,6 +142,19 @@ public string SecurityToken
}
}

public string SourceBiz
{
get
{
return sourceBiz;
}
set
{
sourceBiz = value;
DictionaryUtil.Add(QueryParameters, "SourceBiz", value);
}
}

public string ResourceOwnerAccount
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public CreateGlobalDistributeCacheRequest()

private string securityToken;

private string effectiveTime;

private string resourceOwnerAccount;

private string ownerAccount;
Expand Down Expand Up @@ -93,6 +95,19 @@ public string SecurityToken
}
}

public string EffectiveTime
{
get
{
return effectiveTime;
}
set
{
effectiveTime = value;
DictionaryUtil.Add(QueryParameters, "EffectiveTime", value);
}
}

public string ResourceOwnerAccount
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public CreateInstanceRequest()

private string secondaryZoneId;

private int? slaveReadOnlyCount;

private string couponNo;

private string networkType;
Expand Down Expand Up @@ -112,6 +114,8 @@ public CreateInstanceRequest()

private bool? globalInstance;

private string recoverConfigMode;

private string token;

private string globalInstanceId;
Expand Down Expand Up @@ -165,6 +169,19 @@ public string SecondaryZoneId
}
}

public int? SlaveReadOnlyCount
{
get
{
return slaveReadOnlyCount;
}
set
{
slaveReadOnlyCount = value;
DictionaryUtil.Add(QueryParameters, "SlaveReadOnlyCount", value.ToString());
}
}

public string CouponNo
{
get
Expand Down Expand Up @@ -602,6 +619,19 @@ public bool? GlobalInstance
}
}

public string RecoverConfigMode
{
get
{
return recoverConfigMode;
}
set
{
recoverConfigMode = value;
DictionaryUtil.Add(QueryParameters, "RecoverConfigMode", value);
}
}

public string Token
{
get
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
using System.Collections.Generic;

using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.R_kvstore.Transform;
using Aliyun.Acs.R_kvstore.Transform.V20150101;

namespace Aliyun.Acs.R_kvstore.Model.V20150101
{
public class CreateParameterGroupRequest : RpcAcsRequest<CreateParameterGroupResponse>
{
public CreateParameterGroupRequest()
: base("R-kvstore", "2015-01-01", "CreateParameterGroup", "redisa", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.R_kvstore.Endpoint.endpointMap, null);
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.R_kvstore.Endpoint.endpointRegionalType, null);
}
Method = MethodType.POST;
}

private long? resourceOwnerId;

private string engineVersion;

private string securityToken;

private string engineType;

private string resourceOwnerAccount;

private string ownerAccount;

private long? ownerId;

private string category;

private string parameterGroupName;

private string parameters;

private string parameterGroupDesc;

public long? ResourceOwnerId
{
get
{
return resourceOwnerId;
}
set
{
resourceOwnerId = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
}
}

public string EngineVersion
{
get
{
return engineVersion;
}
set
{
engineVersion = value;
DictionaryUtil.Add(QueryParameters, "EngineVersion", value);
}
}

public string SecurityToken
{
get
{
return securityToken;
}
set
{
securityToken = value;
DictionaryUtil.Add(QueryParameters, "SecurityToken", value);
}
}

public string EngineType
{
get
{
return engineType;
}
set
{
engineType = value;
DictionaryUtil.Add(QueryParameters, "EngineType", value);
}
}

public string ResourceOwnerAccount
{
get
{
return resourceOwnerAccount;
}
set
{
resourceOwnerAccount = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
}
}

public string OwnerAccount
{
get
{
return ownerAccount;
}
set
{
ownerAccount = value;
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
}
}

public long? OwnerId
{
get
{
return ownerId;
}
set
{
ownerId = value;
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
}
}

public string Category
{
get
{
return category;
}
set
{
category = value;
DictionaryUtil.Add(QueryParameters, "Category", value);
}
}

public string ParameterGroupName
{
get
{
return parameterGroupName;
}
set
{
parameterGroupName = value;
DictionaryUtil.Add(QueryParameters, "ParameterGroupName", value);
}
}

public string Parameters
{
get
{
return parameters;
}
set
{
parameters = value;
DictionaryUtil.Add(QueryParameters, "Parameters", value);
}
}

public string ParameterGroupDesc
{
get
{
return parameterGroupDesc;
}
set
{
parameterGroupDesc = value;
DictionaryUtil.Add(QueryParameters, "ParameterGroupDesc", value);
}
}

public override bool CheckShowJsonItemName()
{
return false;
}

public override CreateParameterGroupResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return CreateParameterGroupResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Loading

0 comments on commit 5823c1a

Please sign in to comment.