Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class EntitiesSubscribeResponse

    Wolf server's response for SubscribeToGroupMessage and SubscribeToGroupTipsMessage.

    Inheritance
    System.Object
    WolfResponse
    EntitiesSubscribeResponse
    Implements
    IWolfResponse
    Inherited Members
    WolfResponse.StatusCode
    WolfResponse.ErrorCode
    WolfResponse.ErrorMessage
    Namespace: TehGM.Wolfringo.Messages.Responses
    Assembly: Wolfringo.Core.dll
    Syntax
    public class EntitiesSubscribeResponse : WolfResponse, IWolfResponse

    Constructors

    | Improve this Doc View Source

    EntitiesSubscribeResponse()

    Creates a response instance.

    Declaration
    [JsonConstructor]
    protected EntitiesSubscribeResponse()

    Properties

    | Improve this Doc View Source

    Results

    Dictionary of IDs of entities that were attempted to subscribe, and the status code whether the subscribing was a success.

    Declaration
    [JsonProperty("body")]
    [JsonConverter(typeof(KeyAndValueDictionaryConverter<uint, HttpStatusCode>), new object[]{"code"})]
    public IReadOnlyDictionary<uint, HttpStatusCode> Results { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.UInt32, System.Net.HttpStatusCode>

    Implements

    IWolfResponse

    Extension Methods

    WolfResponseExtensions.IsSuccess(IWolfResponse)
    WolfResponseExtensions.IsError(IWolfResponse)