コード例 #1
0
ファイル: Pet.cs プロジェクト: devigned/autorest
 /// <summary>
 /// Initializes a new instance of the Pet class.
 /// </summary>
 /// <param name="id">The id of the pet.</param>
 /// <param name="status">pet status in the store. Possible values
 /// include: 'available', 'pending', 'sold'</param>
 public Pet(string name, IList<string> photoUrls, long? id = default(long?), Category category = default(Category), IList<Tag> tags = default(IList<Tag>), string status = default(string))
 {
     Id = id;
     Category = category;
     Name = name;
     PhotoUrls = photoUrls;
     Tags = tags;
     Status = status;
 }
コード例 #2
0
ファイル: Pet.cs プロジェクト: jhancock93/autorest
 /// <summary>
 /// Initializes a new instance of the Pet class.
 /// </summary>
 /// <param name="id">The id of the pet.</param>
 /// <param name="status">pet status in the store. Possible values
 /// include: 'available', 'pending', 'sold'</param>
 public Pet(string name, System.Collections.Generic.IList<string> photoUrls, long? id = default(long?), Category category = default(Category), System.Collections.Generic.IList<Tag> tags = default(System.Collections.Generic.IList<Tag>), string status = default(string))
 {
     Id = id;
     Category = category;
     Name = name;
     PhotoUrls = photoUrls;
     Tags = tags;
     Status = status;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the Pet class.
 /// </summary>
 /// <param name="id">The id of the pet.</param>
 /// <param name="status">pet status in the store. Possible values
 /// include: 'available', 'pending', 'sold'</param>
 public Pet(string name, System.Collections.Generic.IList <string> photoUrls, long?id = default(long?), Category category = default(Category), System.Collections.Generic.IList <Tag> tags = default(System.Collections.Generic.IList <Tag>), string status = default(string))
 {
     Id        = id;
     Category  = category;
     Name      = name;
     PhotoUrls = photoUrls;
     Tags      = tags;
     Status    = status;
 }