Example #1
0
        internal static string ToSerializedValue(this DefaultStoreActionParametersEnum value)
        {
            switch (value)
            {
            case DefaultStoreActionParametersEnum.AssetCredential:
                return("AssetCredential");

            case DefaultStoreActionParametersEnum.RobotCredential:
                return("RobotCredential");
            }
            return(null);
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the DefaultStoreActionParameters
 /// class.
 /// </summary>
 /// <param name="resourceType">Possible values include:
 /// 'AssetCredential', 'RobotCredential'</param>
 public DefaultStoreActionParameters(DefaultStoreActionParametersEnum resourceType)
 {
     ResourceType = resourceType;
     CustomInit();
 }