コード例 #1
0
        /// <summary>
        /// Returns true if PlaylistsResult instances are equal
        /// </summary>
        /// <param name="input">Instance of PlaylistsResult to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(PlaylistsResult input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineResponse2003" /> class.
 /// </summary>
 /// <param name="player">player.</param>
 /// <param name="playlists">playlists.</param>
 /// <param name="playlistItems">playlistItems.</param>
 public InlineResponse2003(PlayerState player = default(PlayerState), PlaylistsResult playlists = default(PlaylistsResult), PlaylistItemsResult playlistItems = default(PlaylistItemsResult))
 {
     this.Player        = player;
     this.Playlists     = playlists;
     this.PlaylistItems = playlistItems;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineResponse2001" /> class.
 /// </summary>
 /// <param name="playlists">playlists.</param>
 public InlineResponse2001(PlaylistsResult playlists = default(PlaylistsResult))
 {
     this.Playlists = playlists;
 }