Search Results for

    Show / Hide Table of Contents

    Class CrudServiceBase<TClient>

    Base class for CRUD services, providing common properties and methods. If the service requires something that does not fit CrudService<TClient, TRequest, TResponse, TDeletionStatus, TQuery>, inherit from this class and implement the required methods.

    Inheritance
    object
    CrudServiceBase<TClient>
    ChatService
    FileService
    CohereService
    ConverseService
    MarengoService
    ModelService
    StabilityService
    TitanService
    LexiconService
    SpeechSynthesisService
    VoiceService
    BucketService
    ObjectService
    TranscriptionJobService
    VocabularyFilterService
    VocabularyService
    FileService
    MessageService
    ChatService
    EmbedService
    ModelService
    TokenizeService
    BalanceService
    ChatService
    ModelService
    AudioIsolationService
    ModelService
    MusicService
    SoundEffectService
    SpeechToTextService
    TextToSpeechService
    UserService
    VoiceChangerService
    VoiceLibraryService
    VoiceService
    CorporaDocumentChunkService
    CorporaDocumentService
    CorporaPermissionService
    MediaService
    ModelService
    TunedModelPermissionService
    TunedModelService
    VoiceService
    AudioService
    AudioService.SpeechService
    AudioService.TranscriptionService
    AudioService.TranslationService
    ChatService
    FileService
    ResponseService
    VoiceService
    ChatService
    McpService
    ModelService
    ImageAnalysisService
    DocumentIntelligenceService
    AuthService
    ModelService
    OpenAIService
    CustomVoiceService
    FastTranscriptionService
    SpeechToTextService
    TextToSpeechService
    CalendarService
    DeltaSyncService
    DriveItemService
    DriveService
    MailService
    OAuthService
    SiteService
    TodoService
    ChatService
    EmbedService
    FileService
    ModelService
    ModerationService
    OcrService
    TranscriptionService
    ChatService
    EmbeddingsService
    GenerateService
    ModelService
    ProjectService
    AudioService
    BetaService
    ChatService
    CompletionService
    ConversationService
    EmbeddingService
    FileService
    ImageService
    MessageService
    ModerationService
    ResponseService
    RunService
    RunStepService
    SpeechService
    ThreadService
    TranscriptionService
    TranslationService
    VectorStoreFileService
    VectorStoreFilesBatchService
    VideoService
    ChatCompletionService
    CompletionService
    CreditService
    ModelService
    ResponseService
    ChatService
    ModelService
    PredictionService
    EditService
    GenerateService
    UpscaleService
    ChatService
    ResponseService
    BillingService
    ImageService
    ManagementService
    TokenizeService
    CrudService<TClient, TRequest, TResponse, TDeletionStatus, TQuery>
    Implements
    ICrudService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public abstract class CrudServiceBase<TClient> : ICrudService where TClient : IApiClient
    Type Parameters
    Name Description
    TClient

    Constructors

    | Edit this page View Source

    CrudServiceBase(string, TClient, params string[])

    Declaration
    protected CrudServiceBase(string apiKey, TClient client, params string[] endpoints)
    Parameters
    Type Name Description
    string apiKey
    TClient client
    string[] endpoints
    | Edit this page View Source

    CrudServiceBase(TClient, params string[])

    Declaration
    protected CrudServiceBase(TClient client, params string[] endpoints)
    Parameters
    Type Name Description
    TClient client
    string[] endpoints

    Fields

    | Edit this page View Source

    client

    Declaration
    public readonly TClient client
    Field Value
    Type Description
    TClient

    Properties

    | Edit this page View Source

    ApiKey

    Declaration
    public string ApiKey { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetChildUrl(string, params string[])

    Declaration
    protected string GetChildUrl(string childPath, params string[] ids)
    Parameters
    Type Name Description
    string childPath
    string[] ids
    Returns
    Type Description
    string
    | Edit this page View Source

    GetUrl(params string[])

    Declaration
    protected string GetUrl(params string[] ids)
    Parameters
    Type Name Description
    string[] ids
    Returns
    Type Description
    string

    Implements

    ICrudService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation