public CatalogCustomAttributeDefinition(string type,
                                         string name,
                                         IList <string> allowedObjectTypes,
                                         string description = null,
                                         Models.SourceApplication sourceApplication = null,
                                         string sellerVisibility = null,
                                         string appVisibility    = null,
                                         Models.CatalogCustomAttributeDefinitionStringConfig stringConfig       = null,
                                         Models.CatalogCustomAttributeDefinitionNumberConfig numberConfig       = null,
                                         Models.CatalogCustomAttributeDefinitionSelectionConfig selectionConfig = null,
                                         int?customAttributeUsageCount = null,
                                         string key = null)
 {
     Type                      = type;
     Name                      = name;
     Description               = description;
     SourceApplication         = sourceApplication;
     AllowedObjectTypes        = allowedObjectTypes;
     SellerVisibility          = sellerVisibility;
     AppVisibility             = appVisibility;
     StringConfig              = stringConfig;
     NumberConfig              = numberConfig;
     SelectionConfig           = selectionConfig;
     CustomAttributeUsageCount = customAttributeUsageCount;
     Key = key;
 }
示例#2
0
 public Builder SelectionConfig(Models.CatalogCustomAttributeDefinitionSelectionConfig value)
 {
     selectionConfig = value;
     return(this);
 }
 public Builder SelectionConfig(Models.CatalogCustomAttributeDefinitionSelectionConfig selectionConfig)
 {
     this.selectionConfig = selectionConfig;
     return(this);
 }